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.
This seems to be a new thing in 2.0.0. In 1.5.0 the below snippet would return a blank string.
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.