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

Re: entities -- leave them alone !

From: Matej Vela <mvela@public.srce.hr>
Date: Thu, 1 Feb 2001 20:26:21 -0500 (EST)
To: html-tidy@w3.org
Message-ID: <20010202022611.A1124@jagor.srce.hr>
On Thu, Feb 01, 2001 at 08:31:49AM -0500, Carole E. Mah wrote:
> How do I get Tidy to leave my entities alone ?
> 
> e.g., if I have an entity in my HTML doc. instance that is not recognized
> by Tidy (not in entities.c), Tidy changes the ampersand to &amp;, which I
> do not want it to do.  I want the entity to pass through Tidy unscathed --
> i.e. it ought to leave:
>   &num;
>   &ast;
> 
> alone, but instead, it erroneously changes them to:
>   &amp;num;
>   &amp;ast;

You can try the patch from
<http://lists.w3.org/Archives/Public/html-tidy/2000OctDec/0360.html>.

> Also, what if I want it to change a literal " in CDATA into &quot;  ??

`quote-marks: yes'?


Thanks,

Matej
Received on Friday, 2 February 2001 03:55:58 GMT

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