HtmlSanitizerAction
: string
in package
Table of Contents
Cases
- Allow = 'allow'
- Allowed elements are elements the sanitizer should retain from the input.
- Block = 'block'
- Blocked elements are elements the sanitizer should remove from the input, but retain their children.
- Drop = 'drop'
- Dropped elements are elements the sanitizer should remove from the input, including their children.
Cases
Drop
Dropped elements are elements the sanitizer should remove from the input, including their children.
Block
Blocked elements are elements the sanitizer should remove from the input, but retain their children.
Allow
Allowed elements are elements the sanitizer should retain from the input.