Path to this page:
./
textproc/py-html-sanitizer,
White-list based HTML sanitizer
Branch: pkgsrc-2022Q3,
Version: 1.6.4nb1,
Package name: py310-html-sanitizer-1.6.4nb1,
Maintainer: joerghtml-sanitizer is a whitelist-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.
It goes further than pure tag filtering by transforming the HTML
fragments to normalize formatting and drop redundant or pointless tags.
Master sites:
Filesize: 13.559 KB
Version history: (Expand)
- (2022-09-26) Package added to pkgsrc.se, version py310-html-sanitizer-1.6.4nb1 (created)