logo
首页技术栈工具库讨论
loofah

loofah

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. 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).
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
GitHub iconflavorjones/loofah798
RUBYGEMS
gem install loofah
查看
标签
根据用户添加的标签生成
暂无标签