loofah 2.0.1
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 https://github.com/flavorjones/loofah-activerecord).
Gemfile:
=
安装:
=
Runtime 依赖 (1):
nokogiri
>= 1.5.9
Development 依赖 (10):
hoe
~> 3.11
hoe-bundler
>= 0
hoe-debugging
>= 0
hoe-gemspec
>= 0
hoe-git
>= 0
json
>= 0
minitest
~> 2.2
rake
>= 0.8
rdoc
~> 4.0
rr
~> 1.1.0