Skip to content

<isindex> tag being replaced with a string #279

@timster

Description

@timster

This seems to be a new thing in 2.0.0. In 1.5.0 the below snippet would return a blank string.

>>> from bleach import clean
>>> clean('<isindex>', tags=[], strip=True)
'This is a searchable index. Enter search keywords: '

Is this intentional? Any way to tell bleach to strip it completely? I realize <isindex> is a deprecated tag, but it's present in data we're trying to clean coming from old third party software.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions