Re: Tidy generates DIV with 2 STYLE attributes

On Tue, 29 Aug 2000, Eric Dortmans wrote:

> Following HTML fragment (some stripped output of MS HTML filter):
> 
>   <p>Bullets:</p>
>   <ol style='margin-top:0cm'>
>     <ul style='margin-top:0cm'>
>   	<li>bullet1</li>
>   	<li>bullet2</li>
>   	<li>bullet3</li>
>     </ul>
>   </ol>
> 
> Causes Tidy to produce X(HT)ML output containing
> a DIV element with 2 STYLE attributes:
> 
>   <p>Bullets:</p>
>   <div style="margin-left: 2em" style='margin-top:0cm'>
>     <ul style='margin-top:0cm'>
> 	<li>bullet1</li>
> 	<li>bullet2</li>
> 	<li>bullet3</li>
>     </ul>
>   </div>
> 
> This causes parse errors in XML parsers.
> 
> Eric Dortmans(
> hdo@oce.nl

Thanks for the report. I thought this was fixed in the
latest release, but I will investigate further. Thanks
for the nice short examples.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
tel/fax: +44 122 578 3011 (or 2521) +44 778 532 0444 (mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Friday, 1 September 2000 13:20:21 UTC