A utility function to unescape a string containing legally-html-escaped entities to the plain text
Fully standards-compliant HTML escape and unescape methods. Handles all named entities and numeric escape code patterns specified in the standard.