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

Re: Tidy generates DIV with 2 STYLE attributes

From: Dave Raggett <dsr@w3.org>
Date: Fri, 1 Sep 2000 18:20:11 +0100 (GMT Daylight Time)
To: Eric Dortmans <hdo@oce.nl>
cc: html-tidy@w3.org, gerald@w3.org
Message-ID: <Pine.WNT.4.10.10009011819240.-405663@hazel.hpl.hp.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT