rails / rails-html-sanitizer

MIT License
302 stars 80 forks source link

tidy: remove deprecation warnings from ActionView::Helpers::SanitizeHelper #190

Open flavorjones opened 3 weeks ago

flavorjones commented 3 weeks ago

See https://github.com/rails/rails-html-sanitizer/blob/cf782449651bf84156404f365d019780546d8245/lib/rails-html-sanitizer.rb#L38-L57

These methods were deprecated back in 2014 in 2dbae3e4 when the old sanitizer was dropped from Rails. I think it's time.