Skip to main content

lib/htmlSanitize

Api Code Documentation / Exports / lib/htmlSanitize

Table of contents#

Functions#

Functions#

htmlStrip#

â–¸ htmlStrip(joi): Object

Parameters#

NameType
joiany

Returns#

Object

NameType
baseStringSchema
language{ htmlStrip: string = "remove all html tags from string" }
language.htmlStripstring
namestring
rules{ name: string = "htmlStrip"; validate: (params: any, value: any, state: any, options: any) => any }[]

Defined in#

src/lib/htmlSanitize.ts:4