FreeBSD.software
Home/textproc/rubygem-sanitize

rubygem-sanitize

7.0.0textproc

Whitelist based HTML sanitizer

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.

$pkg install rubygem-sanitize
github.com/rgrove/sanitize
Origin
textproc/rubygem-sanitize
Size
188KiB
License
MIT
Maintainer
ruby@FreeBSD.org
Dependencies
4 packages
Required by
2 packages

Dependencies (4)

Required By (2)