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

"James Brown" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
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
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.