1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/cgi/util.rb (CGI.escapeHTML): use '

[ruby-core:47221] [Bug #6861]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-08-21 22:30:47 +00:00
parent b0837c440e
commit bbb6b5e84e
4 changed files with 9 additions and 5 deletions

View file

@ -22,7 +22,7 @@ class CGI
# The set of special characters and their escaped values
TABLE_FOR_ESCAPE_HTML__ = {
"'" => ''',
"'" => ''',
'&' => '&',
'"' => '"',
'<' => '&lt;',