Sanitizer | @jupyterlab (original) (raw)
Implements
Index
Constructors
constructor
Methods
getAutolink
- getAutolink(): boolean
Returns boolean
Whether to replace URLs by HTML anchors.
sanitize
- sanitize(dirty: string, options?: IRenderMime.ISanitizerOptions): string
Returns string
The sanitized string.
setAllowedSchemes
- setAllowedSchemes(scheme: string[]): void
Parameters
- scheme: string[]
Returns void
setAllowNamedProperties
- setAllowNamedProperties(allowNamedProperties: boolean): void
Parameters
- allowNamedProperties: boolean
Returns void
setAutolink
- setAutolink(autolink: boolean): void
Parameters
- autolink: boolean