lib/htmlSanitize
Api Code Documentation / Exports / lib/htmlSanitize
Table of contents
Variables
Variables
htmlStrip
• Const htmlStrip: Object
Type declaration
| Name | Type |
|---|---|
base | StringSchema<string> |
messages | { string.htmlStrip: string = "remove all html tags from string" } |
messages.string.htmlStrip | string |
rules | { htmlStrip: { validate: (value: any, helpers: any) => string } } |
rules.htmlStrip | { validate: (value: any, helpers: any) => string } |
rules.htmlStrip.validate | [object Object] |
type | string |