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

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


Branch: CURRENT, Version: 1.3.0, Package name: py27-html-sanitizer-1.3.0, 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] [textproc/py-lxml] [lang/python27] [www/py-beautifulsoup4]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 67ffae88b696cfb623d6778d4ae6bd6ac792d250
RMD160: 17dd857a28bea1a1af2540e5c7267810d07dcd51
Filesize: 10.696 KB

Version history: (Expand)


CVS history: (Expand)


   2018-02-13 22:00:03 by Joerg Sonnenberger | Files touched by this commit (4)
Log message:
Add py-html-sanitizer-1.3.0:

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.