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

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

From: Fred Bone <Fred.Bone@dial.pipex.com>
Date: Thu, 08 Jun 2006 15:07:45 +0100
To: "James Brown" <james@hmpg.net>
Cc: html-tidy@w3.org
Message-ID: <44883D41.31558.624F79B@Fred.Bone.dial.pipex.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:56 GMT