• Returns the unescaped html string of the given text

    Parameters

    • Optionaltext: null | string

      the source string to inspect

    Returns string | undefined | null

    the unescaped html string of the given text

    unescapeHtml('&lt;div&gt;foobar&lt;div&gt;');    // '<div>foobar<div>'