Re: problem with Tidy and some Frontpage html

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 UTC