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.
Required Ruby Version
>= 2.1.0
Required Rubygems Version
>= 1.2.0
Authors
Ryan Grove
Versions
- 7.0.0 December 30, 2024 (47.5 KB)
- 6.1.3 August 14, 2024 (47 KB)
- 6.1.2 July 27, 2024 (47 KB)
- 6.1.1 June 13, 2024 (46.5 KB)
- 6.1.0 September 14, 2023 (46.5 KB)
- 5.2.1 June 16, 2020 (44 KB)