Changes entityToUtf8 implementation from htmlparser and add two procs (#7288)

`entityToUtf8` now supports every entity name and decimal and hexadecimal values from https://dev.w3.org/html5/html-author/charref.

As it finally turned out, the `case` implementation generates even a smaller binary size compared to a `[(name, val)]` implementation.

Additionally the procs `entityToRune` and `runeToEntity` are now available. The last one only generates numeric html entities, so it doesn't need a lookup table.
This commit is contained in:
Tim
2018-03-04 21:18:03 +01:00
committed by Andreas Rumpf
parent 9079517d71
commit a568e4dac6

File diff suppressed because it is too large Load Diff