Sanitize is a whitelist-based HTML and CSS sanitizer. Given a list of acceptable elements, attributes, and CSS properties, Sanitize will remove all unacceptable HTML and/or CSS from a string.

Required Ruby Version

>= 1.9.2

Required Rubygems Version

>= 1.2.0

Authors

Ryan Grove

Versions

  1. 7.0.0 December 30, 2024 (47.5 KB)
  2. 6.1.3 August 14, 2024 (47 KB)
  3. 6.1.2 July 27, 2024 (47 KB)
  4. 6.1.1 June 13, 2024 (46.5 KB)
  5. 6.1.0 September 14, 2023 (46.5 KB)
  6. 4.6.2 March 19, 2018 (39.5 KB)
Show all versions (71 total)

SHA 256 checksum