RubyGems.org

sanitize

3.0.2

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.

installgem install sanitize
Authors

Ryan Grove

1,618,478 total downloads 4,479 for this version
Owners

683e9380d7cc0724a35dadfb4eeb142b

Licenses

MIT

Gemfile
gem 'sanitize', '~> 3.0.2'
Versions
  1. 3.0.2 September 3, 2014 (34.5 KB)
  2. 3.0.1 September 3, 2014 (34.5 KB)
  3. 3.0.0 June 21, 2014 (34 KB)
  4. 2.1.0 January 13, 2014 (20.5 KB)
  5. 2.0.6 July 11, 2013 (19.5 KB)
Show all versions (37 total)
Ruby Dependency
  1. >= 1.9.2