From 64204dd675023b17d14c5618dfc782f104ccd1ebdbd1ea258b5ebd912f2e26a3 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 5 Dec 2018 19:22:46 +0000 Subject: [PATCH] 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 --- python-bleach.changes | 5 +++++ python-bleach.spec | 16 +++++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/python-bleach.changes b/python-bleach.changes index 9df099b..ac7c7fb 100644 --- a/python-bleach.changes +++ b/python-bleach.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Dec 5 01:56:44 UTC 2018 - Jan Engelhardt + +- Trim rhetorics and bias from descriptions. + ------------------------------------------------------------------- Tue Dec 4 12:46:11 UTC 2018 - Matej Cepl diff --git a/python-bleach.spec b/python-bleach.spec index 8567b4b..6524db0 100644 --- a/python-bleach.spec +++ b/python-bleach.spec @@ -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}