* lib/cgi/util.rb: added to missing quote.

[fix GH-1363][ci skip] Patch by @dwaller

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2016-05-28 01:26:21 +00:00
parent 88a5f9372d
commit e303695ebd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sat May 28 10:26:18 2016 SHIBATA Hiroshi <hsbt@ruby-lang.org>
* lib/cgi/util.rb: added to missing quote.
[fix GH-1363][ci skip] Patch by @dwaller
Fri May 27 17:38:49 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> Fri May 27 17:38:49 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* variable.c (rb_local_constants_i): exclude hidden constants. * variable.c (rb_local_constants_i): exclude hidden constants.

View File

@ -31,7 +31,7 @@ module CGI::Util
'>' => '&gt;', '>' => '&gt;',
} }
# Escape special characters in HTML, namely &\"<> # Escape special characters in HTML, namely '&\"<>
# CGI::escapeHTML('Usage: foo "bar" <baz>') # CGI::escapeHTML('Usage: foo "bar" <baz>')
# # => "Usage: foo &quot;bar&quot; &lt;baz&gt;" # # => "Usage: foo &quot;bar&quot; &lt;baz&gt;"
def escapeHTML(string) def escapeHTML(string)