- From: Andrej <andrej.groups@gmail.com>
- Date: Mon, 11 Jun 2012 12:59:32 +1200
- To: html-tidy@w3.org
On 11 June 2012 12:38, Bjoern Hoehrmann <derhoermi@gmx.net> wrote: Hi Bjoern, Thanks for your response. >>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. Oh ... I never thought about that possibility since it immediately follows: Use of uninitialized value in sprintf at /usr/lib/perl5/HTML/Tidy/Message.pm line 103, <STDIN> line 2. (44:1) Warning: discarding unexpected </string> Use of uninitialized value in sprintf at /usr/lib/perl5/HTML/Tidy/Message.pm line 103, <STDIN> line 2. (1:1) Warning: inserting missing 'title' element HTML parser error : Unexpected end tag : p Lorem ipsum.</li> </ul></p> ^ HTML parser error : Unexpected end tag : p I will investigate. Cheers, Andrej
Received on Monday, 11 June 2012 01:00:00 UTC