An object that handles html sanitization.

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

Implemented by

Properties

allowNamedProperties?: boolean

Whether to allow name and id properties.

Methods