yeah, unescaping only. I had wrongly assumed that ...
# squarelibraries
j
yeah, unescaping only. I had wrongly assumed that it would be a big task but it seems those four strings are the only cases I need to handle for my use case
e
if you ever have to handle all HTML entities in general, these are all the named entities: https://html.spec.whatwg.org/multipage/named-characters.html as well as
&#NNN;
and
&#xNNN;
decimal and hexadecimal numeric character references. browsers leave unknown entities untouched.
🙏 1