summaryrefslogtreecommitdiff
path: root/lib/cgi
diff options
context:
space:
mode:
authorxibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-11 13:23:01 +0000
committerxibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-11 13:23:01 +0000
commitbf4739ffdca2b9d3ca1d13b52ee87be357aabd09 (patch)
treeabdfcb4ab3f99afac238065563597c80280560fe /lib/cgi
parent3e84b2204ae3f53d99b57fc285dc2210babcfd04 (diff)
* lib/cgi/html.rb: fix tagmaker because attributes should recognize.
[Bug #8252] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/cgi')
-rw-r--r--lib/cgi/html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi/html.rb b/lib/cgi/html.rb
index c0ab459e53..59454c1ea5 100644
--- a/lib/cgi/html.rb
+++ b/lib/cgi/html.rb
@@ -51,7 +51,7 @@ class CGI
#
# O O or - O
def nO_element(element, attributes = {})
- s = nOE_element(element)
+ s = nOE_element(element, attributes)
if block_given?
s << yield.to_s
s << "</#{element.upcase}>"