Actions
Bug #8252
closedcgiのHTML tag makerに未定義の属性を渡した場合の挙動
Description
r40237 で以下の通り、定義されていない属性を渡したときの挙動が変化しているのですが意図していますか
- )
+CGI::HtmlExtension#html when passed a Hash returns an 'html'-element using the passed Hash for attributes FAILED
+Expected ""
+to equal "<HTML BLA="TEST">"
+/extdisk/chkbuild/chkbuild/tmp/build//rubyspec/library/cgi/htmlextension/html_spec.rb:<line_a>:in block (3 levels) in <top (required)>' +/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/rubyspec/library/cgi/htmlextension/html_spec.rb:<line_a>:in
<top (required)>'
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130411T081100Z.diff.html.gz
Updated by xibbar (Takeyuki FUJIOKA) over 11 years ago
いえ、考慮不足です。
修正します。
Updated by xibbar (Takeyuki FUJIOKA) over 11 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r40242.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- lib/cgi/html.rb: fix tagmaker because attributes should recognize.
[Bug #8252]
Actions
Like0
Like0Like0