Function: escapeHtml() ​

Source: 1.3.3 · 8bcfa7511023

ts
function escapeHtml(str?): string;

Defined in: packages/valaxy/shared/utils/sanitize.ts:34

Escape HTML special characters for safe interpolation into HTML text and quoted attributes.

Parameters ​

str? ​

string = ''

Returns ​

string