New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to migrate to new sanitizer #94
Comments
This looks like an issue in ActionView. Should probably be fixed there. According to the code you should be able to set a white list sanitizer https://github.com/rails/rails/blob/master/actionview/lib/action_view/helpers/sanitize_helper.rb#L155-L160 - I can't make that work though. |
Issue filed: rails/rails#36858 |
Yeah, let's take it to the Rails issue, thanks. |
For those who run a Rails version 4.2 to 5.1 you can update OLD Comment for For those who run a Rails version 4.2 to 5.1 you can eather fix the gem to
|
Just for reference here: rails/rails#36858 (comment) |
Currently after upgrading gems in my app I see the following (with
config.active_support.deprecation = :raise
to see stack trace) :How to set new sanitizer? I'm just calling "simple_format in the email".
The text was updated successfully, but these errors were encountered: