Package: python3-html-sanitizer
Source: python-html-sanitizer
Version: 2.2-1
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Jonas Smedegaard <dr@jones.dk>
Installed-Size: 69
Depends: python3-bs4, python3-lxml (>= 4.9.1), python3:any
Suggests: python3-django
Enhances: python3-django
Section: python
Priority: optional
Homepage: https://github.com/matthiask/html-sanitizer
Description: 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.
