Closed henri-hulski closed 2 years ago
@jerivas Bleach 5 doesn't support Python 3.6, so I had to drop it. So it's actually a breaking change. The best would be as I said before to first release my last PR as a patch release and after this one as major release.
Bleach 5 doesn't directly support css sanitizing anymore, but it allows to use an external sanitizer. The default sanitizer is tinycss2, which get installed with
pip install bleach[css]
. I did also some clean-up in html.py.