XML::LibXML can also parse SGML. Most people don't know that (probably sucky docs ;-)my $parser = XML::LibXML->new(); $parser->recover(1); # Set recovery on error flag $parser->parse_html_string(join "", <>)->toStringHTML;
In reply to Re: HTML tidy, using XML::LibXML
by Matts
in thread HTML tidy, using XML::LibXML
by merlyn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |