Contents

bleach 6.1.0

0

An easy safelist-based HTML-sanitizing tool.

An easy safelist-based HTML-sanitizing tool.

Stars: 2619, Watchers: 2619, Forks: 243, Open Issues: 7

The mozilla/bleach repo was created 14 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 2619 github stars!

How to Install bleach

You can install bleach using pip

pip install bleach

or add it to a project with poetry

poetry add bleach

Package Details

Author
License
Apache Software License
Homepage
https://github.com/mozilla/bleach
PyPi:
https://pypi.org/project/bleach/
GitHub Repo:
https://github.com/mozilla/bleach

Classifiers

  • Software Development/Libraries/Python Modules
No  bleach  pypi packages just yet.

Errors

A list of common bleach errors.

Code Examples

Here are some bleach code examples and snippets.

GitHub Issues

The bleach package has 7 open issues on GitHub

  • Drop support for EOL Python 3.6
  • Q: vendoring html5lib and parse
  • update goals / non-goals
  • Add notes on migrating from html5lib sanitization
  • How to be compatible with html5lib's sanitization?
  • feature: do not escape quotes in comments
  • bug: Doesn't strip "iframe" tag despite strip=True
  • Fix regressions from 3.1.4

See more issues on GitHub