W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2000

Re: Missing H? tag bug

From: Dave Raggett <dsr@w3.org>
Date: Fri, 24 Mar 2000 11:47:55 -0600
To: Matthew Brealey <webmaster@richinstyle.com>
Cc: html-tidy@w3.org
Message-ID: <OF9B6194DE.2DF1CC7B-ON862568A6.0048C496@rfdinc.com>

On Wed, 8 Mar 2000, Matthew Brealey wrote:

> It appears that where successive H? elements are used HTML Tidy
> is not correctly handling the result:
>
> <h5>
> This is a heading from which I accidentally omitted the end tag
> <h6>
> This is another heading
> </h6>
>
> This is tidied to:
>
> <h5>
> This is a heading from which I accidentally omitted the end tag
> </h5>
> This is another heading

This was a deliberate attempt to help people who had forgotten
to place a / in the end tag of their headings. Perhaps it was
one heuristic too many!

I will look into this and try and get a feel for what's the
best thing to do.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 385 320 444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Friday, 24 March 2000 13:13:30 GMT

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