unescapeHTML

 unescapeHTML() -> string

Strips tags and converts the entity forms of special HTML characters to their normal form.

Examples

'x > 10'.unescapeHTML()
// -> 'x > 10'

'<h1>Pride &amp; Prejudice</h1>'.unescapeHTML()
// -> 'Pride & Prejudice'