Skip to content

basalt / mailer/src / raw

Function: raw() ​

> raw(value): SafeHtml

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

Marks a string as trusted HTML so html interpolates it verbatim. Only use it on markup you built yourself — never on user input.

Parameters ​

value ​

string

Returns ​

SafeHtml

Released under the MIT License.