summaryrefslogtreecommitdiff
path: root/lib/cgi/util.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-21 22:30:47 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-08-21 22:30:47 +0000
commitbbb6b5e84e53b17c5c08072cae05aed6de6e3abe (patch)
tree7494530ec476327a21219d980ac33384f0e16753 /lib/cgi/util.rb
parentb0837c440eef2199eb1ef58f92b18cf0b5910d01 (diff)
* lib/cgi/util.rb (CGI.escapeHTML): use &#39;
[ruby-core:47221] [Bug #6861] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/cgi/util.rb')
-rw-r--r--lib/cgi/util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi/util.rb b/lib/cgi/util.rb
index f6c25a95503..41ae724c8cf 100644
--- a/lib/cgi/util.rb
+++ b/lib/cgi/util.rb
@@ -22,7 +22,7 @@ class CGI
# The set of special characters and their escaped values
TABLE_FOR_ESCAPE_HTML__ = {
- "'" => '&#x27;',
+ "'" => '&#39;',
'&' => '&amp;',
'"' => '&quot;',
'<' => '&lt;',