Function decodeHTML

  • Decodes an HTML string.

    Parameters

    • htmlString: string

      The string to decode.

    • mode: DecodingMode = DecodingMode.Legacy

      The decoding mode.

    Returns string

    The decoded string.