BSD Ports

textproc/rubygem-sanitize60 6.0.2 MidnightBSD

Whitelist based HTML sanitizer

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
368075fb16
License
mit
Categories
textproc, rubygems

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
MidnightBSDtextproc/rubygem-sanitize606.0.2
FreeBSDtextproc/rubygem-sanitize606.0.2
DragonFlytextproc/rubygem-sanitize606.0.2

Install

Binary package:

mport install sanitize60

From mports:

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

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

RUN_DEPENDS=	sanitize60>0:textproc/rubygem-sanitize60

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Build dependencies 2
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
cpe gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/sanitize-6.0.2.gem4761648c4eb8e92bb1699056b6000986ac50fc9df82f458a941abf2c4d6759bccd5cf
Master sites 1
  • RG

Commit history 1

DateCommitCreditsLog message
368075fb16 Lucas Holt textproc/rubygem-sanitize60: add build dependencies
Add the runtime gem dependencies to BUILD_DEPENDS so clean package builds satisfy fake-qa gem dependency checks. AI-Assisted-by: OpenAI Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>