method

html_escape_translation_options

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: HtmlSafeTranslation
html_escape_translation_options(options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/html_safe_translation.rb, line 32
      def html_escape_translation_options(options)
        options.each do |name, value|
          unless i18n_option?(name) || (name == :count && value.is_a?(Numeric))
            options[name] = ERB::Util.html_escape(value.to_s)
          end
        end
      end
Register or log in to add new notes.