Skip to content

Documentation


Documentation / @blazetrails/actionpack / ActionView / sanitize

Function: sanitize() ​

sanitize(this, html, options?): SafeBuffer | null

Defined in: packages/actionview/dist/helpers/sanitize-helper.d.ts:30

Parameters ​

ParameterType
thisSanitizeHelperHost
htmlstring | null | undefined
options?Record<string, unknown>

Returns ​

SafeBuffer | null