- From: Dave Raggett <dsr@w3.org>
- Date: Thu, 30 Mar 2000 19:35:56 +0100 (GMT Daylight Time)
- To: "Marc Rubin, Jay's Island Software Development & Consulting" <html-tidy@mail.com>
- cc: html-tidy@w3c.org, html-tidy@w3.org
On Fri, 24 Mar 2000, Marc Rubin, Jay's Island Software Development & Consulting wrote: > > I'd like to preserve the implicit hierarchy of HTML headings > when converting to XHTML. For example, I'd like to end up with > this XHTML output: > > <h1>Heading 1 text > <h2>Heading 2 under heading 1</h2></h1> > > given this HTML input: > > <h1>Heading 1 text</h1> > <h2>Heading 2 under heading 1</h2> > > Would this translation be feasible as an option in Tidy? I have refined the rule of thumb to treat <h1>some text<h1> some more as <h1>some text</h1> some more but to treat <h1>some text<h2> some more</h2> as <h1>some text</h1> <h2>some more</h2> This will be part of the next release (April) 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 Thursday, 30 March 2000 13:37:13 UTC