Function

escapeHtml

From mothwing mothwing/html ยท src/html.js:29

Escapes the characters that mean something in HTML, &<>"', so the text shows as it is.

escapeHtml(text: string): string

Parameters

textstring

Returns

string