@polargold/pg-frontend-core
    Preparing search index...

    Interface SanitizeHtmlOptions

    interface SanitizeHtmlOptions {
        additionalAttributes?: string[];
        additionalTags?: string[];
        allowedAttributes?: string[];
        allowedTags?: string[];
    }
    Index
    additionalAttributes?: string[]

    Attributes added on top of the (default or overridden) attribute allowlist, e.g. ["style", "src"].

    additionalTags?: string[]

    Tags added on top of the (default or overridden) tag allowlist, e.g. ["h2", "img"].

    allowedAttributes?: string[]

    Replaces the default attribute allowlist entirely.

    allowedTags?: string[]

    Replaces the default tag allowlist entirely.