RubyGems.org

loofah

0.2.0

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 Internet Experts.) This library was formerly known as Dryopteris.

installgem install loofah -v 0.2.0
Authors

Mike Dalessio, Bryan Helmkamp

494,279 total downloads 1,323 for this version
Owners

535d73db0b47b6f745e9981e80dabdb4Bd6e7860b5a891bff077aeaeb5434e60

Gemfile
gem 'loofah', '~> 0.2.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)
Development Dependencies
  1. hoe >= 2.3.3