method
implicit_html_escape_interpolated_argument
v8.1.1 -
Show latest stable
- Class:
ActiveSupport::SafeBuffer
implicit_html_escape_interpolated_argument(arg)private
No documentation available.
# 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