method

html_escape_translation_options

rails latest stable - Class: ActiveSupport::HtmlSafeTranslation
html_escape_translation_options(options)
private

No documentation available.

# 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