RubyGems Navigation menu

loofah 2.3.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 safelist, 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](https://github.com/flavorjones/loofah-activerecord).

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.22.0 - November 13, 2023 (32.5 KB)
  2. 2.21.4 - October 10, 2023 (32 KB)
  3. 2.21.3 - May 15, 2023 (31.5 KB)
  4. 2.21.2 - May 11, 2023 (31.5 KB)
  5. 2.21.1 - May 10, 2023 (31.5 KB)
  6. 2.3.0 - September 28, 2019 (66.5 KB)
Show all versions (58 total)

Runtime Dependencies (2):

crass ~> 1.0.2
nokogiri >= 1.5.9

Development Dependencies (11):

concourse >= 0.26.0
hoe ~> 3.18
hoe-bundler ~> 1.5
hoe-debugging ~> 2.0
hoe-gemspec ~> 1.0
hoe-git ~> 1.6
json ~> 2.2.0
minitest ~> 2.2
rake ~> 12.3
rdoc >= 4.0, < 7
rr ~> 1.2.0

Owners:

Pushed by:

Authors:

  • Mike Dalessio, Bryan Helmkamp

SHA 256 checksum:

3dc92b42fb89bf0e8ba84fefa2bf16434e61c8fbc42111a2d90f8db841c26e1a

Total downloads 462,645,825

For this version 2,625,992

License:

MIT

Required Ruby Version: >= 0

Links: