perl, HTML::Tidy, clean ...
Andrej <[email protected]> Thu, 31 May 2012 09:25:15 +1200
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <CACMx3pOS1Pcxbn01wx67xNPyBraUdvKBmVO30BKNxVk8LehAxA@mail.gmail.com> |
Hi,
I'm trying to clean up apple wiki markup.
I'm using the following options w/ tidy ...
tidy_mark => 0,
output_encoding => 'utf8',
input_encoding => 'utf8',
drop_proprietary_attributes => 1,
output_xhtml => 1,
clean => 1,
hide_endtags => 1,
For some wiki entries I get
HTML parser error : Unexpected end tag : p
Lorem ipsum.</li> </ul></p>
What option do I need to set to make tidy carry on w/ processing rather
than erroring out?
Cheers,
Andrej
--
Please don't top post, and don't use HTML e-Mail :} Make your quotes concise.
http://www.georgedillon.com/web/html_email_is_evil.shtml