escapeHTML
Function: escapeHTML()
escapeHTML(
str):string
Defined in: src/utilities/sanitizer.ts:16
Escapes HTML characters in a string to prevent XSS attacks.
Parameters
str
string
The string to escape.
Returns
string
The escaped string.
escapeHTML(
str):string
Defined in: src/utilities/sanitizer.ts:16
Escapes HTML characters in a string to prevent XSS attacks.
string
The string to escape.
string
The escaped string.