BSD Ports

textproc/rubygem-sanitize60 6.0.2 DragonFly

Whitelist based HTML sanitizer

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
rubygems, textproc
Package size
38.2 KiB, 181.1 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

SystemPortVersion
DragonFlytextproc/rubygem-sanitize606.0.2
FreeBSDtextproc/rubygem-sanitize606.0.2
MidnightBSDtextproc/rubygem-sanitize606.0.2

Install

Binary package:

pkg install rubygem-sanitize60

From DPorts:

cd /usr/dports/textproc/rubygem-sanitize60 && make install clean

Dependencies

Run dependencies 4

No port depends on this one.