Simple port of this white-list based HTML sanitizer Ruby gem.
ruby@ wants this port PRs (via the GNATS Auto Assign Tool)
I will take it.
hopefully pgollucci won't mind if i take care of this for him since he's
swills 2011-10-02 17:14:09 UTC
FreeBSD ports repository
textproc/rubygem-sanitize Makefile distinfo pkg-descr
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.
Author: Ryan Grove
Submitted by: Eric Freeman <firstname.lastname@example.org>
Revision Changes Path
1.1656 +1 -0 ports/textproc/Makefile
1.1 +22 -0 ports/textproc/rubygem-sanitize/Makefile (new)
1.1 +2 -0 ports/textproc/rubygem-sanitize/distinfo (new)
1.1 +13 -0 ports/textproc/rubygem-sanitize/pkg-descr (new)
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"
New port added, with minor changes. Thanks!