BSD Ports

textproc/rubygem-sanitize 7.0.0 FreeBSD

Whitelist based HTML sanitizer

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
textproc, rubygems
Package size
41.7 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

SystemPortVersion
FreeBSDtextproc/rubygem-sanitize7.0.0
DragonFlytextproc/rubygem-sanitize7.0.0

Install

Binary package:

pkg install rubygem-sanitize

From the ports tree:

cd /usr/ports/textproc/rubygem-sanitize/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-sanitize>0:textproc/rubygem-sanitize

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest7.0.07.0.06.0.0-7.0.0
FreeBSD:14:quarterly7.0.07.0.0n/a-7.0.0
FreeBSD:15:latest7.0.07.0.0n/a-7.0.0
FreeBSD:15:quarterly7.0.07.0.0n/an/an/a
FreeBSD:16:latest7.0.07.0.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 15

Configuration

No options to configure.

USES
cpe gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/sanitize-7.0.0.gem48640269d1b9d7326e69307723af5643ec032ff86ad616e72a3b36d301ac75a273984
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.