Bug#1060291: ITP: python-nh3 -- Python bindings to the ammonia HTML sanitization library.
Package: wnpp
Severity: wishlist
Owner: Alexandre Detiste <tchet@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : python-nh3
Version : 0.2.15
Upstream Contact:
* URL : https://github.com/messense/nh3
* License : MIT
Programming Lang: Pytthon
Description : Python bindings to the ammonia HTML sanitization library.
NH3 is an HTML sanitizing library that escapes or strips markup and
attributes based on a white list. NH3 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.
.
NH3 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 deprecated, NH3 is seen a valid successor.
NH3 is neead to package the latest version of 'python-readme-renderer'
https://github.com/mozilla/bleach/issues/698
https://daniel.feldroy.com/posts/2023-06-converting-from-bleach-to-nh3
Reply to: