Skip to content

Version 1.18.3 does not have defaults defined #242

@a-novelo

Description

@a-novelo

When working with version 1.18.2 I was able to access sanitizeHtml.defaults but with version 1.18.3 I'm getting undefined. If I rollback to the former version, there are no problems with the following line:
allowedTags: sanitizeHtml.defaults.allowedTags.concat(['h1', 'h2'])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions