Re: Bug in HTML Tidy for Cygwin released on 1st September 2004

"Fred Bone" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
On 7 Jun 2006 at 23:37, James Brown said:

> 
> The tool does not seem to correctly detect get parameters in anchor tag
> URLs.
> 
> If you hand the following HTML to tidy:
> 
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <html>
> <head>
> <title>Tidy test</title>
> <body>
> <A
> href="http://example.com/product_reviews_info.php?products_id=204&reviews_
> id =3">Link</a> </body> </html>
> 
> You get the following "error" reported:
> 
>  line 6 column 69 - Warning: unescaped & or unknown entity "&reviews_id"

This is indeed an error.

> And it attempts to "correct" this problem as follows:
> 
>  <a
> href="http://example.com/product_reviews_info.php?products_id=204&amp;revi
> ew s_id=3">Link</a>

and this is probably the correct version.
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.