diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/erb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erb.rb b/lib/erb.rb index d30911e0f1..26c34ee3ad 100644 --- a/lib/erb.rb +++ b/lib/erb.rb @@ -911,7 +911,7 @@ class ERB # is a > 0 & a < 10? # def html_escape(s) - CGI.escapeHTML(s) + CGI.escapeHTML(s.to_s) end alias h html_escape module_function :h |