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](https://github.com/flavorjones/loofah-activerecord).
 Popularity
Downloads
70,000,376
Stars
683
Forks
92
Watchers
19
 Releases
Current version
2.2.2
Total releases
29
First release
Latest release
 Issues
Open
15
Closed
75
Total Issues
90
Closure Rate
83%
 Pull Requests
Open
3
Rejected
21
Merged
36
Acceptance Rate
60%
 Development
Primary Language
Ruby
Licenses
MIT
Average date of last 50 commits
within last year
Reverse Depencencies
49