Sha256: 08caf84b0fb60cb68fdcc66ee2638248c3db74986d9e24cc59141ceaeada5837

Contents?: true

Size: 160 Bytes

Versions: 25

Compression:

Stored size: 160 Bytes

Contents

require 'action_controller'
require 'cgi'

AutoHtml.add_filter(:sanitize).with({}) do |text, options|
  HTML::WhiteListSanitizer.new.sanitize(text, options)
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
dejan-auto_html-1.2.0 lib/auto_html/filters/sanitize.rb
auto_html-1.5.1.1 lib/auto_html/filters/sanitize.rb
auto_html-1.6.1 lib/auto_html/filters/sanitize.rb
auto_html-1.6.0 lib/auto_html/filters/sanitize.rb
auto_html-1.5.3 lib/auto_html/filters/sanitize.rb
auto_html-1.5.2 lib/auto_html/filters/sanitize.rb
auto_html-1.5.1 lib/auto_html/filters/sanitize.rb
auto_html-1.5.0 lib/auto_html/filters/sanitize.rb
marcosinger-auto_html-1.3.6 lib/auto_html/filters/sanitize.rb
galetahub-auto_html-1.0.1 lib/auto_html/filters/sanitize.rb
auto_html-1.4.2 lib/auto_html/filters/sanitize.rb
auto_html-1.4.1 lib/auto_html/filters/sanitize.rb
auto_html-1.4.0 lib/auto_html/filters/sanitize.rb
auto_html-1.3.7 lib/auto_html/filters/sanitize.rb
marcosinger-auto_html-1.3.5 lib/auto_html/filters/sanitize.rb
marcosinger-auto_html-1.3.4 lib/auto_html/filters/sanitize.rb
auto_html-1.3.6 lib/auto_html/filters/sanitize.rb
auto_html-1.3.5 lib/auto_html/filters/sanitize.rb
auto_html-1.3.4 lib/auto_html/filters/sanitize.rb
auto_html-1.3.3 lib/auto_html/filters/sanitize.rb