mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Invoke html_escape on the proper receiver
This commit is contained in:
parent
460c4efd71
commit
901973b4d7
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ module ActionView
|
|||
str << "+#{country_code}#{delimiter}" unless country_code.blank?
|
||||
str << number
|
||||
str << " x #{extension}" unless extension.blank?
|
||||
html_escape(str)
|
||||
ERB::Util.html_escape(str)
|
||||
end
|
||||
|
||||
# Formats a +number+ into a currency string (e.g., $13.65). You can customize the format
|
||||
|
|
Loading…
Reference in a new issue