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: Sat, 18 Mar 2000 13:10:35 +0000 (GMT Standard Time)
To: Matthew Brealey <webmaster@richinstyle.com>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.10003181304460.-516757@hazel.hpl.hp.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 Saturday, 18 March 2000 08:10:39 GMT

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