RubyGems.org

loofah

1.1.0

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments. It's built on top of Nokogiri and libxml2, so it's fast and has a nice API. Loofah excels at HTML sanitization (XSS prevention). It includes some nice HTML sanitizers, which are based on HTML5lib's whitelist, so it most likely won't make your codes less secure. (These statements have not been evaluated by Netexperts.) ActiveRecord extensions for sanitization are available in the `loofah-activerecord` gem (see http://github.com/flavorjones/loofah-activerecord).

installgem install loofah -v 1.1.0
Authors

Mike Dalessio, Bryan Helmkamp

497,660 total downloads 1,360 for this version
Owners

535d73db0b47b6f745e9981e80dabdb4Bd6e7860b5a891bff077aeaeb5434e60

Gemfile
gem 'loofah', '~> 1.1.0'
Versions
  1. 2.0.0 May 9, 2014 (58 KB)
  2. 1.2.1 April 14, 2012 (56 KB)
  3. 1.2.0 August 8, 2011 (55.5 KB)
  4. 1.1.0 August 8, 2011 (55 KB)
  5. 1.0.0 October 26, 2010 (51.5 KB)
Show all versions (19 total)
Runtime Dependencies
  1. nokogiri >= 1.4.4