Re: libtidy-php: does not clean invalid character refs

"Krzysztof Gorzelak" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <005601c74452$dafc18b0$7101a9c0@pologne>
----- Original Message ----- 
From: "Felix Natter" <[email protected]>
To: <[email protected]>
Sent: Tuesday, January 23, 2007 3:21 PM
Subject: libtidy-php: does not clean invalid character refs


> And the output still contains invalid character references because
> this still shows when I run the command-line tidy over the result:
>
> line 1567 column 31 - Warning: replacing invalid character code 145
> line 1573 column 31 - Warning: replacing invalid character code 145
> line 1579 column 33 - Warning: replacing invalid character code 145
> line 1712 column 45 - Warning: <a> attribute with missing trailing quote
> mark
> line 1771 column 28 - Warning: replacing invalid character code 136
>
> How can I get libtidy under PHP to fix these "invalid character
> messages"?
>
> I am using libtidy 20050415-1 on debian sarge with php-tidy 1.2 (which
> seems to be no longer maintained).

I'm using "Multibyte String" library ( function mb_convert_encoding ) to 
prepare my webpage for tidy cleaning...

Krzysztof Gorzelak
[email protected]
http://www.uno.pl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.