Function decodeHTML

  • Decodes an HTML string.

    Parameters

    • str: string

      The string to decode.

    • mode: DecodingMode = DecodingMode.Legacy

      The decoding mode.

    Returns string

    The decoded string.