all options
bullseye  ] [  sid  ]
[ Source: python-html-sanitizer  ]

Package: python3-html-sanitizer (2.2-1)

Links for python3-html-sanitizer

Screenshot

Debian Resources:

Download Source Package python-html-sanitizer:

Maintainer:

External Resources:

Similar packages:

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.

Other Packages Related to python3-html-sanitizer

  • depends
  • recommends
  • suggests
  • enhances

Download python3-html-sanitizer

Download for all available architectures
Architecture Package Size Installed Size Files
all 16.6 kB72.0 kB [list of files]