aboutsummaryrefslogtreecommitdiff
path: root/python/python3-bleach/README
diff options
context:
space:
mode:
authorYth - Arnaud <yth@ythogtha.org>2023-11-09 19:08:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-11 08:07:51 +0700
commit16ef4148268e5e7c5b021a4b74d9c6003ee5f763 (patch)
tree6432b7e5897aea3f3b443ae11fb4edfb9f9843be /python/python3-bleach/README
parente21aab0cadcc7f5efef7f8930f92e1ba3c3c3140 (diff)
python/python3-bleach: Added (whitelist-based HTML-sanitizing tool).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-bleach/README')
-rw-r--r--python/python3-bleach/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/python3-bleach/README b/python/python3-bleach/README
new file mode 100644
index 0000000000..d9d63687ea
--- /dev/null
+++ b/python/python3-bleach/README
@@ -0,0 +1,11 @@
+Bleach is a whitelist-based HTML sanitizing library that escapes or
+strips markup and attributes.
+
+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.