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

Re: entities -- leave them alone !

From: Mark Renouf <mrenouf@sparecycles.net>
Date: Thu, 01 Feb 2001 10:10:30 -0500
Message-ID: <3A797C66.7020008@sparecycles.net>
To: Carole Mah <carolem@stg.brown.edu>
Cc: html-tidy@w3.org
try
quote-ampersand: no

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;
> 
> Also, what if I want it to change a literal " in CDATA into &quot;  ??
> 
> thanks,
> -carole
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> Carole E. Mah                     carolem@stg.brown.edu
>                Programmer/Analyst
>    Brown University Scholarly Technology Group
>                phn 401-863-2669
>                fax 401-863-9313
>             http://www.stg.brown.edu/
>   personal: http://www.stg.brown.edu/~carolem/
> 
Received on Thursday, 1 February 2001 10:09:53 GMT

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