@alextheman/utility - v5.34.0
    Preparing search index...

    Function escapeHTML

    • Escapes a raw HTML string so it can be safely used in HTML templates.

      Parameters

      • rawString: string

        The raw string to escape

      Returns string

      A new string, with the contents of the original string but with HTML characters safely encoded.