W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2012

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 11 Jun 2012 02:38:13 +0200
To: Andrej <andrej.groups@gmail.com>
Cc: html-tidy@w3.org
Message-ID: <h9fat71g4hr1gg6ufholtq35ljrd60jp94@hive.bjoern.hoehrmann.de>
* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 11 June 2012 00:38:44 GMT