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

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.

Received on Thursday, 8 June 2006 14:08:43 UTC