rails-html-sanitizer icon indicating copy to clipboard operation
rails-html-sanitizer copied to clipboard

Add new scrubber suitable for strip tags but adding whitespace

Open jhottenstein opened this issue 1 year ago • 1 comments

A step forward to address #154 (and https://github.com/rails/rails/issues/8331)

Will be accompanied by a PR to Rails to use this new scrubber

jhottenstein avatar May 08 '24 20:05 jhottenstein

I rebased and applied rubocop autocorrects. I'll look into why this acts differently between Nokogiri's JRuby and CRuby implementations.

flavorjones avatar May 19 '24 21:05 flavorjones