Sanitize

JSON →
library 7.0.0 ·ruby
verified Jun 18, 2026

Allowlist-based HTML and CSS sanitizer that removes all elements, attributes, and properties not explicitly allowed.