Re: perl, HTML::Tidy, clean ...
Bjoern Hoehrmann <[email protected]> Mon, 11 Jun 2012 02:38:13 +0200
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
* Andrej wrote: >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, You do not want to use hide_endtags while using output_xhtml. >For some wiki entries I get >HTML parser error : Unexpected end tag : p >Lorem ipsum.</li> </ul></p> That looks like a libxml2 error, not a HTML Tidy error message. -- Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/