Skip to content

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
AssemblyGlutinum.Web
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>] [<Global>]

Methods

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