W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 1999

output with duplicate class definition

From: Avi Sharabi <asharabi@yahoo.com>
Date: Thu, 2 Dec 1999 13:49:05 -0800 (PST)
Message-ID: <19991202214905.27994.qmail@web2001.mail.yahoo.com>
To: html-tidy@w3.org
Does anyone know why I get duplicate class tags in my
output file. 

I have disable the "cleaning" of styles in clean.c

my input is:
<p class=MSONormal
style='margin-left:.25in;text-indent:-.25in;mso-list:13
level1 lfo9;tabe-stop:list
.25in'><!if!supportLists]><span
style='font-family:Symbol'>.<span stle='font:7.0pt
"Time New Roman"'>&nbsp; 
</span></span><[!endif]>It performs ten times
faster</p>

my output is: 
<p class="MsoNormal" class='c4'>ir perfomrs ten time
faster</p>

the duplicate class calls on the output caused my perl
parser to crash. 

I also don't understand why the span tags are not gone

(as indicated in clean.c (cleanWord2000).

thanks, 

Avi

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
Received on Thursday, 2 December 1999 16:49:08 GMT

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