Skip to main content

Interface: SanitizeAllowlistOptions

Defined in: utils/dom/sanitizeHtmlAllowlist.ts:17

Small presentation-only HTML allowlist.

Properties​

allowedTags​

allowedTags: readonly string[];

Defined in: utils/dom/sanitizeHtmlAllowlist.ts:18


allowedAttributes​

allowedAttributes: readonly string[];

Defined in: utils/dom/sanitizeHtmlAllowlist.ts:19


stripUrlInStyle?​

optional stripUrlInStyle?: boolean;

Defined in: utils/dom/sanitizeHtmlAllowlist.ts:20