RubyGems.org

loofah

0.3.1

Loofah is an HTML sanitizer. It will always fix broken markup, but can also sanitize unsafe tags in a few different ways, and transform the markup for storage or display. It's built on top of Nokogiri and libxml2, so it's fast. And it uses html5lib's whitelist, so it most likely won't make your codes less secure. \* \* These statements have not been evaluated by Netexperts.

installgem install loofah -v 0.3.1
Authors

Mike Dalessio, Bryan Helmkamp

449,956 total downloads 1,673 for this version
Owners

535d73db0b47b6f745e9981e80dabdb4Bd6e7860b5a891bff077aeaeb5434e60

Gemfile
gem 'loofah', '~> 0.3.1'
Versions
  1. 1.2.1 April 14, 2012 (56 KB)
  2. 1.2.0 August 8, 2011 (55.5 KB)
  3. 1.1.0 August 8, 2011 (55 KB)
  4. 1.0.0 October 26, 2010 (51.5 KB)
  5. 1.0.0.beta.1 July 21, 2010 (51.5 KB)
Show all versions (18 total)
Runtime Dependencies
  1. nokogiri >= 1.3.3
Development Dependencies
  1. hoe >= 2.3.3