Sanitizer
[<Interface>]
type Sanitizer =
abstract member allowAttribute (attribute: SanitizerAttributeNamespace) : bool
abstract member allowAttribute (attribute: string) : bool
abstract member allowElement (element: SanitizerElementNamespaceWithAttributes) : bool
abstract member allowElement (element: string) : bool
abstract member get () : SanitizerConfig
abstract member removeAttribute (attribute: SanitizerAttributeNamespace) : bool
abstract member removeAttribute (attribute: string) : bool
abstract member removeElement (element: SanitizerElementNamespace) : bool
abstract member removeElement (element: string) : bool
abstract member removeUnsafe () : bool
abstract member replaceElementWithChildren (element: SanitizerElementNamespace) : bool
abstract member replaceElementWithChildren (element: string) : bool
abstract member setComments (allow: bool) : bool
abstract member setDataAttributes (allow: bool) : bool| Assembly | Glutinum.Web |
| Inherits | obj \| null |
| Attributes | [<AllowNullLiteral>] [<Interface>] [<Global>] |
Methods
abstract member allowAttribute (attribute: SanitizerAttributeNamespace) : boolabstract member allowElement (element: SanitizerElementNamespaceWithAttributes) : boolabstract member get () : SanitizerConfigabstract member removeAttribute (attribute: SanitizerAttributeNamespace) : boolabstract member removeElement (element: SanitizerElementNamespace) : boolabstract member replaceElementWithChildren (element: SanitizerElementNamespace) : bool