Aller au contenu
Français

escapeHtml

Ce contenu n’est pas encore disponible dans votre langue.

escapeHtml(s): string

Defined in: src/http/Html.ts:28

Escape the HTML-significant characters (& < > " ' and the backtick). Safe for HTML element content and quoted attribute values; it does NOT cover JS-string, CSS, or URL contexts, which need their own encoding.

string

string