python-html-sanitizer 2.2-1 source package in Ubuntu
Changelog
python-html-sanitizer (2.2-1) unstable; urgency=medium [ upstream ] * new release(s) [ Jonas Smedegaard ] * build-depend on pybuild-plugin-pyproject python3-hatchling (not python3-setuptools); tighten build-dependency on python3-lxml * declare compliance with Debian Policy 4.6.2 -- Jonas Smedegaard <email address hidden> Sat, 25 Nov 2023 13:04:41 +0100
Upload details
- Uploaded by:
- Jonas Smedegaard
- Uploaded to:
- Sid
- Original maintainer:
- Jonas Smedegaard
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-html-sanitizer_2.2-1.dsc | 2.1 KiB | e62325ecca9dbbf69409a1fcbb1184bbd7f2f57955e23dcaed1c51f5ac473a2a |
python-html-sanitizer_2.2.orig.tar.gz | 15.9 KiB | 98566f4d9be35a7d8516333fb165f92c130f0d9a648dfbc53e0939ba225963e1 |
python-html-sanitizer_2.2-1.debian.tar.xz | 3.2 KiB | 8a676c54885613c93995f3cdac20c7f25209d906b9fe5e28361db371904a2258 |
No changes file available.
Binary packages built by this source
- python3-html-sanitizer: HTML sanitizer with more HTML fragment transforms
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.