W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2003

TidyMemToMem and Word-2000 problem

From: Joseph T. McGarvey <jmcgarvey@paragraphinc.com>
Date: Tue, 18 Mar 2003 16:57:39 -0500
Message-ID: <82737329D8CAB64EB7FF1939F708554B138167@paragraphmail>
To: <html-tidy@w3.org>
I noticed when using TidyCOM that cleaning a string (TidyMemToMem) with
the "word-2000" option that much of the word generated class attributes
and span tags are left in the tidied HTML.  Tidying an external file
with TidyToMem produces perfectly tidied HTML.  Comparing two exact
sources, one as a string and one as an external file, yield the
following results:

 

ORIGINAL SOURCE:

<p class=MsoNormal>This is stuff that gets <b
style='mso-bidi-font-weight:normal'><u>put

in by word</u></b></p>

 

TidyToMem OUTPUT:

<p>This is stuff that gets <b><u>put in by word</u></b></p>

 

TidyMemToMem OUTPUT::

<p class="MsoNormal">This is stuff that gets <b class='c412'><u>put in
by word</u></b></p>

 

Anyone know why this happens?   Why is a class attribute generated under
the bold tag where there never was one?

 

Thanks!

 

Joseph McGarvey

 
Received on Tuesday, 18 March 2003 17:05:27 GMT

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