Single repo-wide HTML escaping and decoding utilities.
escapeHTML is the canonical XSS-prevention encoder for the codebase —
its behaviour must not change. decodeHtmlEntities is the inverse used
when extracting plain text from our own generated HTML.
Description
Single repo-wide HTML escaping and decoding utilities.
escapeHTMLis the canonical XSS-prevention encoder for the codebase — its behaviour must not change.decodeHtmlEntitiesis the inverse used when extracting plain text from our own generated HTML.