• Beta

    Unescapes HTML entities

    Parameters

    • text: string

      The text to unescape

    Returns string

    The unescaped text

    const result = unescapeHtml('"<Hello&World>"');

    assert(result === `"<Hello&World>"`);