Skip to main content

lib/htmlSanitize

Api Code Documentation / Exports / lib/htmlSanitize

Table of contents

Variables

Variables

htmlStrip

Const htmlStrip: Object

Type declaration

NameType
baseStringSchema<string>
messages{ string.htmlStrip: string = "remove all html tags from string" }
messages.string.htmlStripstring
rules{ htmlStrip: { validate: (value: any, helpers: any) => string } }
rules.htmlStrip{ validate: (value: any, helpers: any) => string }
rules.htmlStrip.validate[object Object]
typestring

Defined in

src/lib/htmlSanitize.ts:4