Should std.conv:parse parse html entities?
johnnymarler at gmail.com
Wed Nov 13 18:31:09 UTC 2019
On Wednesday, 13 November 2019 at 12:17:17 UTC, berni44 wrote:
> Concerning issue 9621 : There are two things, that parse
> doesn't parse currently, namely octal numbers and html
> entities. While there is no argument against the former (I
> actually wrote a PR to add them), there has been some
> discussion around the later, because the whole table of those
> entities (about 3000) would make it in the code, even if not
> needed at all.
> As I don't think, I should try to decide this on my own, I'd
> like to know your oppinion: What is better: Add the entities or
> write in the docs, that they are not supported? What do you
>  https://issues.dlang.org/show_bug.cgi?id=9621
Maybe you could put the table inside a template so it only get
compiled/included when it's used?
const HtmlEntityTable = ...;
More information about the Digitalmars-d