You are here: Home / LBN / Up2date / Cloud Computing / BastionLinux 19 / python-bleach-1.4.1-1.lbn19.noarch

python-bleach-1.4.1-1.lbn19.noarch

Package Attributes
RPM  python-bleach-1.4.1-1.lbn19.noarch.rpm Architecture  noarch Size  146604 Created  2019/09/30 06:53:00 UTC
Package Specification
Summary An easy whitelist-based HTML-sanitizing tool.
Group Application/Internet
License ZPL
Home Page https://pypi.python.org/packages/source/b/bleach/bleach-1.4.1.tar.gz
Description

Bleach is an HTML sanitizing 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. If you find yourself jumping through hoops to allow your site administrators to do lots of things, you’re probably outside the use cases. Either trust those users, or don’t.

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

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
python-bleach

Document Actions