W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2004

Re: HTML tidy Lists

From: Jany Quintard <jany.quintard@free.fr>
Date: Tue, 31 Aug 2004 14:04:49 +0200
To: html-tidy@w3.org
Message-ID: <20040831120448.GE31112@raisin>

* Fred Bone [Tue, 31/08/2004 at 12:38 +0100]
> 
> On 30 Aug 2004 at 11:21, Jason @ digitalstream wrote:
> 
> > Hi
> > 
> > Is there a simple way to stop HTML Tidy from rearranging lists
> > ie
> > 
> > *<ul>
> >     <li> Item 1 </li>
> >     <ul>
> >        <li> Sub Item One </li>
> >     </ul>
> > </ul>* 	
> > 
> >     * Item 1
> >           o Sub Item One
> > 
In this case, tidy does what it can. The input *should* be:
  <ul>
     <li> Item 1
       <ul>
          <li> Sub Item One </li>
       </ul>
     </li>
  </ul> 	
 
Here, tidy encounters an incorrect content for element ul (ul is not
valid in ul).

Jany
Received on Tuesday, 31 August 2004 12:05:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:54 UTC