method

implicit_html_escape_interpolated_argument

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveSupport::SafeBuffer
implicit_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 204
      def implicit_html_escape_interpolated_argument(arg)
        if !html_safe? || arg.html_safe?
          arg
        else
          CGI.escapeHTML(arg.to_str)
        end
      end
Register or log in to add new notes.