[ 源代码: ruby-whitewash ]
软件包:ruby-whitewash(2.1-3)
Whitelist-based HTML filter for Ruby
This module allows Ruby programs to clean up any HTML document or fragment coming from an untrusted source and to remove all dangerous constructs that could be used for cross-site scripting or request forgery.