freebsd-ports/textproc/rubygem-sanitize20/pkg-descr
Torsten Zuehlsdorff 20abeb6774 Bring back dependencies needed to prepare the update of www/gitlab to 10.4
Submitted by: Matthias Fechner <idefix@fechner.net>
Reviewed by:  swills, tz
2018-02-15 16:59:19 +00:00

11 lines
476 B
Text

Sanitize is a whitelist-based HTML sanitizer. Given a list of
acceptable elements and attributes, Sanitize will remove all
unacceptable HTML from a string.
Using a simple configuration syntax, you can tell Sanitize to
allow certain elements, certain attributes within those elements,
and even certain URL protocols within attributes that contain URLs.
Any HTML elements or attributes that you don't explicitly allow
will be removed.
WWW: https://github.com/rgrove/sanitize