]> sipb.mit.edu Git - ikiwiki.git/commit
Always produce HTML5 doctype and new attributes, but not new elements
authorSimon McVittie <smcv@debian.org>
Thu, 16 Oct 2014 10:04:53 +0000 (11:04 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 16 Oct 2014 10:04:53 +0000 (11:04 +0100)
commit490a1eca7bed841848765b495a73fbc56e4808f4
treed7eb5dd03d15a7c9c77dbf6d7a32028b53fcddad
parent1561fbb365adba5b9b793d3e52e59bee48d66546
Always produce HTML5 doctype and new attributes, but not new elements

According to caniuse.com, a significant fraction of Web users are
still using Internet Explorer versions that do not support HTML5
sectioning elements. However, claiming we're XHTML 1.0 Strict
means we can't use features invented in the last 12 years, even if
they degrade gracefully in older browsers (like the role and placeholder
attributes).

This means our output is no longer valid according to any particular
DTD. Real browsers and other non-validator user-agents have never
cared about DTD compliance anyway, so I don't think this is a real loss.
IkiWiki.pm
IkiWiki/Plugin/mirrorlist.pm
debian/control
t/html.t [deleted file]
templates/googleform.tmpl
templates/page.tmpl
templates/searchform.tmpl