Project

General

Profile

Bug #8252

cgiのHTML tag makerに未定義の属性を渡した場合の挙動

Added by naruse (Yui NARUSE) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 2.1.0dev (2013-04-11 trunk 40238) [x86_64-freebsd9.1]
Backport:
[ruby-dev:47246]

Description

r40237 で以下の通り、定義されていない属性を渡したときの挙動が変化しているのですが意図していますか

  • ) +CGI::HtmlExtension#html when passed a Hash returns an 'html'-element using the passed Hash for attributes FAILED +Expected "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">" +to equal "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML//EN\">"

+/extdisk/chkbuild/chkbuild/tmp/build//rubyspec/library/cgi/htmlextension/html_spec.rb::in block (3 levels) in <top (required)>'
+/extdisk/chkbuild/chkbuild/tmp/build/<buildtime>/rubyspec/library/cgi/htmlextension/html_spec.rb:<line_a>:in
'

http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20130411T081100Z.diff.html.gz

Also available in: Atom PDF