[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rename USE_NUMERIC_ENTITY and change meaning
From: |
Gavin Smith |
Subject: |
Re: rename USE_NUMERIC_ENTITY and change meaning |
Date: |
Sun, 19 Dec 2021 10:31:02 +0000 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Sun, Dec 19, 2021 at 01:34:12AM +0100, Patrice Dumas wrote:
> Hello,
>
> Right now, USE_NUMERIC_ENTITY means
> For HTML and XML. If set, use numeric entities instead of ASCII
> characters when there is no named entity. By default, set to true
> for HTML.
>
> I think that it is not logical. It would be better to name differently
> that customization option, I would propose 'FALLBACK_TO_NUMERIC_ENTITY'
> and change the meaning of USE_NUMERIC_ENTITY such that USE_NUMERIC_ENTITY
> means:
> For HTML [and XML?]. If set, use numeric entities instead of named
> entities. By default, set to false.
>
> Would that be ok? I do not think that it is an issue for compatibility
> as I do not think that users ever wanted the former USE_NUMERIC_ENTITY
> to be false.
Yes, I agree. I couldn't find anything to say that numeric identities have
ever not worked in HTML. I would just get rid of the option to use
ASCII characters as a fallback.