textproc/rubygem-sanitize60 6.0.2 FreeBSD
Whitelist based HTML sanitizer
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- textproc, rubygems
- Package size
- 40.7 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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/rubygem-sanitize60 | 6.0.2 |
| DragonFly | textproc/rubygem-sanitize60 | 6.0.2 |
| MidnightBSD | textproc/rubygem-sanitize60 | 6.0.2 |
Install
Binary package:
pkg install rubygem-sanitize60
From the ports tree:
cd /usr/ports/textproc/rubygem-sanitize60/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= rubygem-sanitize60>0:textproc/rubygem-sanitize60
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 6.0.2 | 6.0.2 | - | - | 6.0.2 |
| FreeBSD:14:quarterly | 6.0.2 | 6.0.2 | n/a | - | 6.0.2 |
| FreeBSD:15:latest | 6.0.2 | 6.0.2 | n/a | - | 6.0.2 |
| FreeBSD:15:quarterly | 6.0.2 | 6.0.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 6.0.2 | 6.0.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 2
rubygem-crass>=1.0.2<1.1: www/rubygem-crassrubygem-nokogiri>=1.12.0: textproc/rubygem-nokogiri
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 15
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 0
No commits in the history this site was built from.