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

Re: problem with Tidy and some Frontpage html

From: Dave Raggett <dsr@w3.org>
Date: Sun, 1 Oct 2000 12:02:46 +0100 (GMT Daylight Time)
To: Drew Burton <drb@ams.org>
cc: html-tidy@w3.org, gerald@w3.org
Message-ID: <Pine.WNT.4.10.10010011158480.-421563@hazel.hpl.hp.com>
On Tue, 5 Sep 2000, Drew Burton wrote:

> I hesitate to call this a bug but Tidy is doing bad by some
> bad html from Frontpage 4.0.

It's a bug alright!

> Tidy throws away a name-anchor when it is represented as:
> "<P><A NAME="clipboard"><H3>Clipboard</H3></A><P>"
> 
> That becomes "<H3>Clipboard</H3>".

I have fixed this and the result is now:

   <br />
   <br />
   <h3><a id="clipboard" name="clipboard">ClipBoard</a></h3>
   <br />
   <br />

when tidying to XHTML. The br's are produced as a consequence
of finding the two empty <P>'s. n.b. <P> can't contain <h3>.
The fix will be included in the next release of Tidy. Many
thanks for reporting this bug.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 778 532 0444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Sunday, 1 October 2000 07:03:03 GMT

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