Should std.conv:parse parse html entities?

berni44 dlang at d-ecke.de
Wed Nov 13 18:55:42 UTC 2019


On Wednesday, 13 November 2019 at 18:31:09 UTC, Jonathan Marler 
wrote:
> Maybe you could put the table inside a template so it only get 
> compiled/included when it's used?
>
> template HtmlEntityTable()
> {
>     const HtmlEntityTable = ...;
> }

As far, as I understood the discussion in the bugreport, the 
problem with that is, that most of the time you'll not know if it 
will be needed, but most strings parsed (I assume, they are not 
available on compiletime) do not contain entities (presumably).


More information about the Digitalmars-d mailing list