The options used to sanitize.

Hierarchy

  • ISanitizerOptions

Properties

allowedAttributes?: {
    [key: string]: string[];
}

The allowed attributes for a given tag.

Type declaration

  • [key: string]: string[]
allowedStyles?: {
    [key: string]: {
        [key: string]: RegExp[];
    };
}

The allowed style values for a given tag.

Type declaration

  • [key: string]: {
        [key: string]: RegExp[];
    }
allowedTags?: string[]

The allowed tags.

Generated using TypeDoc