Skip to content

Sanitize HTML in subtext and title instead of stripping it away #2247

Open
@hossein

Description

@hossein

The sanitizer implemented in 1.13.6 (#2199) sanitizes the data-content, but not data-subtext and title.

However, there are valid use cases one might want to use html in subtext and in the title (in our use case to show detailed information in the button for the selected item).

Therefore I think the component should sanitize these attributes instead of just stripping HTML out. This is more consistent with data-content sanitizing and would also resolve #2225 gracefully.

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