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

Re: Word 2000-option

From: Charles Reitzel <creitzel@rcn.com>
Date: Wed, 23 Oct 2002 13:07:17 -0400
Message-Id: <4.3.2.7.2.20021023130418.0263b8b0@pop.rcn.com>
To: html-tidy@w3.org

I duplicated the behavior, which is long standing.  Tidy removes the 
conditional sections and their content:

   <![if ...]> foo <![endif]>

But Tidy needs to identify the document as a Microsoft Office doc before it 
will actually remove the conditional sections (again, the long standing 
behavior).  It needs to find either a generator meta tag or a namespace 
declartion.

take it easy,
Charlie


At 09:12 AM 10/23/2002 +0200, Bjoern Hoehrmann wrote:

>* pjonzzon wrote:
> >I have a Word document from which I want to remove from Microsoft Word 
> 2000 special tags.
> >When I use the option "word-2000" in my configurationfile, some data are 
> removed.
> >I've added an example below. I want to have "2 "-data in my output, but 
> it's removed.
> >Is this really right?
> >
> >Before HTML Tidy(Code saved from Microsoft Word 2000 to html):
> >
> ><p class=Paragraf style='margin-left:0cm;text-indent:0cm'><![if
> >!supportLists]><b style='mso-bidi-font-weight:normal'>2 <span 
> style="mso-spacerun:
> >yes">  </span><span style="mso-spacerun: yes"> </span></b><
> >![endif]>Demo</p>
> >
> >After HTML Tidy:
> >
> >    <p class="Paragraf">Demo</p>
>
>What version did you use? Using a recent version of TidyLib I get
>
>   ...
>   <body>
>     <p class="Paragraf" style='margin-left:0cm;text-indent:0cm'><![if
>     !supportLists]><b style='mso-bidi-font-weight:normal'>2
>     &otilde;</b> &lt;
>     ![endif]&gt;Demo</p>
>   </body>
>   ...
>
>regards.
Received on Wednesday, 23 October 2002 12:54:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC