=head1 NAME HTML::FormatText::WithLinks::AndTables - Converts HTML to Text with tables intact =head1 SYNOPSIS use HTML::FormatText::WithLinks::AndTables; my $text = HTML::FormatText::WithLinks::AndTables->convert($html); Or optionally... my $conf = { # same as HTML::FormatText excepting below cellpadding => 2, # defaults to 1 no_rowspacing => 1, # bool, suppress vertical space between table rows }; my $text = HTML::FormatText::WithLinks::AndTables->convert($html, $conf); =head1 DESCRIPTION This module was inspired by HTML::FormatText::WithLinks which has proven to be a useful `lynx -dump` work-alike. However one frustration was that no other HTML converters I came across had the ability to deal affectively with HTML
tag's "align" attribute, and will also preserve multiline text inside of a | element provided it is broken using tags. =head2 EXPORT None by default. =head1 METHODS =head2 convert =head1 EXAMPLE Given the HTML below ...
| elements are treated identically to | elements
* It assumes a fixed width font for display of resulting text.
* It doesn't work well on nested |
---|