Package Info

python3-bleach


A whitelist-based HTML-sanitizing tool


Development/Languages/Python

Bleach is an HTML sanitation library that escapes or strips markup and attributes based on a white list. Bleach can also linkify text safely, applying filters that Django's urlize filter cannot, and optionally setting rel attributes, even on links already in the text.

Bleach is intended for sanitizing text from untrusted sources.

Because it relies on html5lib, Bleach is as good as modern browsers at dealing with weird, quirky HTML fragments. Bleach's methods will fix unbalanced or mis-nested tags.

Documentation is at http://bleach.readthedocs.org/ .


License: Apache-2.0
URL: http://github.com/jsocol/bleach

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
3.1.5-bp156.1.1 info GA Release 2024-02-07 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python3-bleach