W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2002

Treatment of inproper nesting

From: Rijk van Geijtenbeek <rijk@opera.com>
Date: Thu, 04 Apr 2002 14:20:32 +0200
To: Tidy list <html-tidy@w3.org>
Message-Id: <A7PKVJE32WTEBXRA6D8FAWVZXLIB707.3cac4510@jol>

  <small><h1>Header text</h1></small>

This gets tidied to:
  <h1><small>Header text</small></h1>

  <span style="font-size: small;"><h1>Header text</h1></span>

Gets tidied to:
  <h1>Header text</h1>

Is there any way to make Tidy treat spans around block-level elements the same 
way it treats small?

I use the Jan 18, 2002 version of Tidy.

 If you don't like having choices    |  Rijk van Geijtenbeek
 made for you, you should start      |   
 making your own. -  Neal Stephenson |  mailto:rijk@opera.com
Received on Thursday, 4 April 2002 07:15:34 UTC

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