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:



<p class=MsoNormal>This is stuff that gets <b

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



<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?




Joseph McGarvey

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:53 UTC