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

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

From: James Brown <james@hmpg.net>
Date: Wed, 7 Jun 2006 23:37:36 -0600
To: <html-tidy@w3.org>
Message-ID: <EJEDLABBMIEICGDOKKPGKELNHJAA.james@hmpg.net>

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"

And it attempts to "correct" this problem as follows:

	<a
href="http://example.com/product_reviews_info.php?products_id=204&amp;review
s_id=3">Link</a>

Thanks,

- James
Received on Thursday, 8 June 2006 13:54:39 GMT

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