Skip to content

basalt / mailer/src / escapeHtml

Function: escapeHtml() ​

> escapeHtml(value): string

Defined in: mailer/src/html.ts:22

Escape & < > " ' for safe interpolation into HTML text or attributes.

Parameters ​

value ​

string

Returns ​

string

Released under the MIT License.