aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-10-16 11:04:53 +0100
committerSimon McVittie <smcv@debian.org>2014-10-16 11:04:53 +0100
commit490a1eca7bed841848765b495a73fbc56e4808f4 (patch)
treed7eb5dd03d15a7c9c77dbf6d7a32028b53fcddad /IkiWiki.pm
parent1561fbb365adba5b9b793d3e52e59bee48d66546 (diff)
downloadikiwiki-490a1eca7bed841848765b495a73fbc56e4808f4.tar
ikiwiki-490a1eca7bed841848765b495a73fbc56e4808f4.tar.gz
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.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 1043ef402..dfe89ad32 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -274,7 +274,7 @@ sub getsetup () {
html5 => {
type => "boolean",
default => 0,
- description => "generate HTML5?",
+ description => "use elements new in HTML5 like <section>?",
advanced => 0,
safe => 1,
rebuild => 1,