Skip to content

Sanitizer: Be aware of elements that have different parsing rules #8

@leafo

Description

@leafo

There are some html elements (eg. iframe) which use different parsing rules for the content of the tag. The sanitizer should be aware of this and treat those tags separately. None of the elements in the default whitelist are currently affected by this.

Note: Also worth investigating other elements that have special parsing rules: https://html.spec.whatwg.org/multipage/parsing.html#special

See: https://html.spec.whatwg.org/multipage/parsing.html#html-parser

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions