BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

sanitize

v7.0.0RubyGems· Ruby

Sanitize is an allowlist-based HTML and CSS sanitizer. It removes all HTML and/or CSS from a string except the elements, attributes, and properties you choose to allow.'

The verdict
Aging — last published over a year ago — check before adopting. Check the repo for activity before adopting.
Check the repo for activity before adopting.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAging
PopularityWidely used
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published over a year ago — check before adopting.
Popularity
132K downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 7.0.0over a year ago
  • 6.1.3over a year ago
  • 6.1.2over a year ago
  • 6.1.1over a year ago
  • 6.1.02 years ago
  • 6.0.22 years ago
  • 6.0.13 years ago
  • 6.0.04 years ago
sanitize — Sanitize is an allowlist-based HTML and CSS sanitizer. It removes all HTML and/or CSS from a string except the elements, attributes, and properties you choose to allow.' (Ruby / RubyGems) · Modules