@yookue/ts-lang-utils
    Preparing search index...

    Function unescapeHtml

    • Returns the unescaped html string of the given text

      Parameters

      • Optionaltext: null | string

        the source string to inspect

      Returns undefined | null | string

      the unescaped html string of the given text

      David Hsing

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