Skip to main content

SanitizeAllowlistOptions

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/dom/sanitizeHtmlAllowlist / SanitizeAllowlistOptions

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