Re: HTML tidy Lists

* 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