1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/textproc/rubygem-sanitize/pkg-descr
Sunpoet Po-Chuan Hsieh fdd462485d - Remove Author line
2013-08-29 18:06:47 +00:00

12 lines
473 B
Plaintext

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: http://wonko.com/post/sanitize