./textproc/py-html-sanitizer, White-list based HTML sanitizer

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2018Q4, Version: 1.6.3, Package name: py27-html-sanitizer-1.6.3, Maintainer: joerg

html-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.


Required to run:
[devel/py-setuptools] [lang/python27] [www/py-beautifulsoup4]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 408f95343200d2c8e58a2d2d12c4143f58d6f837
RMD160: 14dd2a801ef079eb0c2fde5f7381a2c9483541dd
Filesize: 11.027 KB

Version history: (Expand)