instance method
explicit_html_escape_interpolated_argument
Ruby on Rails edge
Since v7.0.10 Private — implementation detail, not part of the public APISignature
explicit_html_escape_interpolated_argument(arg)
No documentation comment.
Parameters
-
argreq
Source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 208
def explicit_html_escape_interpolated_argument(arg)
(!html_safe? || arg.html_safe?) ? arg : ERB::Util.unwrapped_html_escape(arg)
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 208
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer