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

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 UTC