Bug in Tidy ?

[email protected]
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <OFF471C263.6D298347-ONC1257376.002DB65E-C1257376.002F357D@mineco.fgov.be>
Hello,

1) I use Tidy (vers 14 febuary 2006) to clean up my pages but I have 
problems with hyperlinks containig "special" characters like the french é
Tidy replaces this in <a href="# by  %C3%A9, but does not replace it in <a 
name="

2) If the anchor contains spaces, they are replaced by %20 in  <a href="# 
, but not in the text.

In both cases the links do not work. How can this be avoided, and undone 
in the existing pages ?

Kind regards

Guy De Saedeleer

Example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; 
charset=windows-1252" />
  <title>école</title>
</head>

<body>
  <p><a href="#%C3%A9cole_">école</a></p>
  <p><a href="#Link%20with%20spaces">Link with spaces</a></p>

  <p> </p>

  <p> </p>

  <p><a name="école_">école</a></p>
  <p><a name="Link with spaces">Link with spaces</a></p>

</body>
</html>
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.