mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Call as ERB::Util.html_escape since is not the module is not included here
This commit is contained in:
parent
bb9c58eb4a
commit
72d12d9455
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ module ActionView
|
|||
value = nil
|
||||
buffer = with_output_buffer { value = yield(*args) }
|
||||
if string = buffer.presence || value and string.is_a?(String)
|
||||
html_escape string
|
||||
ERB::Util.html_escape string
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue