An object that handles html sanitization.

interface ISanitizer {
    allowCommandLinker?: boolean;
    allowNamedProperties?: boolean;
    getAutolink(): boolean;
    sanitize(dirty: string, options?: IRenderMime.ISanitizerOptions): string;
}

Implemented by

Properties

allowCommandLinker?: boolean

Whether to allow command linker attributes.

allowNamedProperties?: boolean

Whether to allow name and id properties.

Methods