From: "stomar (Marcus Stollsteimer)" Date: 2012-11-04T17:17:13+09:00 Subject: [ruby-core:48843] [ruby-trunk - Bug #7110] CGI: Add support for HTML5
tag Issue #7110 has been updated by stomar (Marcus Stollsteimer). I really think for the proposed patch 2.0 would be the best place. @zzak: I can not judge how big the impact of renaming CGI#header would be. BUT: Your proposal would mean that the
tag would have to be treated differently to all the other HTML tags (#h1, #form, #br, ...), which for the users of the tag maker would be a fairly unexpected behaviour. Personally, I would prefer consistent behaviour for all tags. In case the decision goes with introducing a special method for this single tag, I would suggest #header_element (maybe #header_tag) instead of #html_header, which to me rather signifies the doctype, html meta data, etc. ---------------------------------------- Bug #7110: CGI: Add support for HTML5
tag https://bugs.ruby-lang.org/issues/7110#change-32334 Author: stomar (Marcus Stollsteimer) Status: Assigned Priority: Normal Assignee: xibbar (Takeyuki Fujioka) Category: lib Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-09-28 trunk 37049) [i686-linux] =begin These patches add the
tag to CGI's HTML generation methods, finalizing the support of HTML5, see #6637. Note that the old CGI#header method is renamed to CGI#http_header. CGI#header now generates a HTML5 header element. =end -- http://bugs.ruby-lang.org/