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
| System | Port | Version |
|---|---|---|
| MidnightBSD | textproc/rubygem-sanitize60 | 6.0.2 |
| FreeBSD | textproc/rubygem-sanitize60 | 6.0.2 |
| DragonFly | textproc/rubygem-sanitize60 | 6.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
rubygem-crass>=1.0.2<1.1: www/rubygem-crassrubygem-nokogiri>=1.12.0: textproc/rubygem-nokogiri
Runtime 2
rubygem-crass>=1.0.2<1.1: www/rubygem-crassrubygem-nokogiri>=1.12.0: textproc/rubygem-nokogiri
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
| File | Size | SHA256 |
|---|---|---|
| rubygem/sanitize-6.0.2.gem | 47616 | 48c4eb8e92bb1699056b6000986ac50fc9df82f458a941abf2c4d6759bccd5cf |
Master sites 1
- RG
Commit history 1
| Date | Commit | Credits | Log 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]> |