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

Re: HTML tidy Lists

From: Fred Bone <Fred.Bone@dial.pipex.com>
Date: Tue, 31 Aug 2004 12:38:28 +0100
To: html-tidy@w3.org
Message-ID: <41347144.20092.1DFAAFD8@localhost>

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
> 
> 
> **becomes
> 
> *<ul>
>     <li> Item 1 </li>
>     <li>
>         <ul>
>            <li> Sub Item One </li>
>         </ul>
>     </li>
> </ul>* 	
> 
>     * Item 1
>     *
> 
>           o Sub Item One


What (valid) output would you prefer?

By design, Tidy only outputs valid markup. Given invalid markup, it does 
its best to correct it, but clearly no one set of correction rules will 
please everyone.
Received on Tuesday, 31 August 2004 11:39:13 UTC

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