Function encodeHtml

  • Encodes text replacing HTML special characters (<>&"')

    Parameters

    • html: string

    Returns string