diff options
author | Tim <tim-st@users.noreply.github.com> | 2018-03-04 21:18:03 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-03-04 21:18:03 +0100 |
commit | a568e4dac6b3e338b4ad42c06be25a3d77b375f5 (patch) | |
tree | cb330cf34bb0c621629c579d71664d4e27923570 /tests | |
parent | 9079517d71a010e38a700870abf0703165e08b8b (diff) | |
download | Nim-a568e4dac6b3e338b4ad42c06be25a3d77b375f5.tar.gz |
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.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions