method

html_escape_interpolated_argument

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::SafeBuffer
html_escape_interpolated_argument(arg) 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/core_ext/string/output_safety.rb, line 246
    def html_escape_interpolated_argument(arg)
      (!html_safe? || arg.html_safe?) ? arg :
        arg.to_s.gsub(ERB::Util::HTML_ESCAPE_REGEXP, ERB::Util::HTML_ESCAPE)
    end
Register or log in to add new notes.