Accepting request 654136 from home:jengelh:branches:devel:languages:python

- Trim rhetorics and bias from descriptions.

OBS-URL: https://build.opensuse.org/request/show/654136
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bleach?expand=0&rev=22
This commit is contained in:
Todd R 2018-12-05 19:22:46 +00:00 committed by Git OBS Bridge
parent 3c2753cf75
commit 64204dd675
2 changed files with 10 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 5 01:56:44 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Trim rhetorics and bias from descriptions.
-------------------------------------------------------------------
Tue Dec 4 12:46:11 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -21,7 +21,7 @@
Name: python-bleach
Version: 2.1.3
Release: 0
Summary: An easy whitelist-based HTML-sanitizing tool
Summary: A whitelist-based HTML-sanitizing tool
License: Apache-2.0
Group: Development/Languages/Python
URL: http://github.com/jsocol/bleach
@ -41,24 +41,18 @@ BuildArch: noarch
%python_subpackages
%description
Bleach is an HTML sanitizing library that escapes or strips markup and
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. 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.
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. And *any* of Bleach's methods will fix
with weird, quirky HTML fragments. Bleach's methods will fix
unbalanced or mis-nested tags.
The version on GitHub_ is the most up-to-date and contains the latest bug
fixes. You can find full documentation on `ReadTheDocs`.
http://bleach.readthedocs.org/
Documentation is at http://bleach.readthedocs.org/ .
%prep
%setup -q -n bleach-%{version}