Decode the 5 HTML entities produced by escapeHTML() back to plain text.
Used when extracting text from our own generated HTML to obtain unescaped values.
IMPORTANT: & MUST be decoded last. Decoding it first would convert
&lt; to < before the < → < replacement runs, causing
double-decoding. The correct order is: decode all specific entities first,
then decode & as the final step.
Decode the 5 HTML entities produced by escapeHTML() back to plain text. Used when extracting text from our own generated HTML to obtain unescaped values.
IMPORTANT:
&MUST be decoded last. Decoding it first would convert&lt;to<before the<→<replacement runs, causing double-decoding. The correct order is: decode all specific entities first, then decode&as the final step.