mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Invoke html_escape on the proper receiver
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user