Rails 6 marks arrays of translations as trusted safe by using the '_html' suffix
11-Sep-2019 1588
Before Rails 6, keys with the _html suffix in the language locale files are automatically marked as HTML safe. These HTML safe keys do not get escaped when used in the views.
Rails 6 marks arrays of translations as trusted safe by using the '_html' suffix #ruby #rubydeveloper #rubyonrails #Rails #marks #arrays #translations #trusted #using #'_html' #suffix #arrays https://rubyonrails.ba/link/rails-6-marks-arrays-of-translations-as-trusted-safe-by-using-the-_html-suffix