Skip to content

Commit

Permalink
2173 white list tags (#2175)
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirazgar committed Oct 16, 2022
1 parent 5f9be36 commit 7b9bf25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ class Application < Rails::Application
config.i18n.available_locales = Locale.available_locales.sort_by(&:swapcase).map &:to_sym
config.i18n.default_locale = :en

config.action_view.sanitized_allowed_tags = Rails::Html::Sanitizer.white_list_sanitizer.allowed_tags + ['strike', 'u']

config.to_prepare do
Devise::Mailer.layout 'mailer'
end
Expand Down

0 comments on commit 7b9bf25

Please sign in to comment.