Setu-TS
    Preparing search index...

    Function escapeHtml

    TemplateEngine — renders named bodies: {{ variable }} strings, or view components through CAPABILITIES.VIEW (M102). render is asynchronous.

    • Escapes the five HTML-significant characters so interpolated user data cannot inject markup into an HTML body.

      Parameters

      • value: string

        The raw value

      Returns string

      The HTML-escaped value