instance method
implicit_html_escape_interpolated_argument
Ruby on Rails 8.1.2
Since v7.0.10 PrivateSignature
implicit_html_escape_interpolated_argument(arg)
No documentation comment.
Parameters
-
argreq
Source
# File activesupport/lib/active_support/core_ext/string/output_safety.rb, line 202
def implicit_html_escape_interpolated_argument(arg)
if !html_safe? || arg.html_safe?
arg
else
ERB::Util.unwrapped_html_escape(arg.to_str)
end
end
Defined in activesupport/lib/active_support/core_ext/string/output_safety.rb line 202
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::SafeBuffer