Package: wnpp
Severity: wishlist
Owner: Jonas Smedegaard <dr@jones.dk>
* Package name : python-html-sanitizer
Version : 1.9.1
Upstream Author : Matthias Kestenholz <mk@feinheit.ch>
* Url : https://github.com/matthiask/html-sanitizer
* Licenses : BSD-3-Clause~Feinheit
Programming Lang : Python
Section : python
This is an allowlist-based and very opinionated HTML sanitizer
that can be used both for untrusted and trusted sources.
It attempts to clean up the mess
made by various rich text editors and or copy-pasting
to make styling of webpages simpler and more consistent.
It builds on the excellent HTML cleaner in lxml
to make the result both valid and safe.
.
HTML sanitizer goes further than e.g. bleach
in that it not only ensures that content is safe
and tags and attributes conform to a given allowlist,
but also applies additional transforms to HTML fragments.
This package is needed by matrix-mirage.
I plan to maintain this package myself,
keeping debianization in following Git repository:
https://salsa.debian.org/debian/python-html-sanitizer.git
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep privateAttachment:
signature.asc
Description: signature