method

html_escape_translation_options

html_escape_translation_options(options)
private

No documentation available.

# File actionview/lib/action_view/helpers/translation_helper.rb, line 146
        def html_escape_translation_options(options)
          return options if options.empty?
          html_safe_options = options.dup

          options.each do |name, value|
            unless TranslationHelper.i18n_option?(name) || (name == :count && value.is_a?(Numeric))
              html_safe_options[name] = ERB::Util.html_escape(value.to_s)
            end
          end

          html_safe_options
        end