W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2007

Bug in Tidy ?

From: <Guy.Desaedeleer@economie.fgov.be>
Date: Tue, 16 Oct 2007 10:35:39 +0200
To: html-tidy@w3.org
Message-ID: <OFF471C263.6D298347-ONC1257376.002DB65E-C1257376.002F357D@mineco.fgov.be>

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 

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
  <meta http-equiv="Content-Type" content="text/html; 
charset=windows-1252" />

  <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>

Received on Wednesday, 17 October 2007 13:14:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:56 UTC