Re: perl, HTML::Tidy, clean ...

* 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:bjoern@hoehrmann.de · 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/ 

Received on Monday, 11 June 2012 00:38:39 UTC