textproc/rubygem-sanitize 7.0.0 DragonFly
Whitelist based HTML sanitizer
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- rubygems, textproc
- Package size
- 39.2 KiB, 187.8 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | textproc/rubygem-sanitize | 7.0.0 |
| FreeBSD | textproc/rubygem-sanitize | 7.0.0 |
Install
Binary package:
pkg install rubygem-sanitize
From DPorts:
cd /usr/dports/textproc/rubygem-sanitize && make install clean