bleach v5.0.0 Release Notes
Release Date: 2022-04-07 // almost 3 years ago-
Backwards incompatible changes
clean
andlinkify
now preserve the order of HTML attributes. Thank you, @askoretskly! (#566)โฌ๏ธ Drop support for Python 3.6. Thank you, @hugovk! (#629)
๐ CSS sanitization in style tags is completely different now. If you're using Bleach
clean
to sanitize css in style tags, you'll need to update your code and you'll need to install thecss
extras::pip install 'bleach[css]'
See
the documentation on sanitizing CSS for how to do it <https://bleach.readthedocs.io/en/latest/clean.html#sanitizing-css>
_. (#633)๐ Bug fixes
- Rework dev dependencies. We no longer have
requirements-dev.in
/requirements-dev.txt
. Instead, we're usingdev
extras.
See
development docs <https://bleach.readthedocs.io/en/latest/dev.html>
_ for more details. (#620)- โ Add newline when dropping block-level tags. Thank you, @jvanasco! (#369)