summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-08 19:45:02 -0400
committerJoey Hess <joey@kitenet.net>2010-05-08 19:45:02 -0400
commitbc0aa4d40e10238f6b83e285869caab3dfeca395 (patch)
tree3f85c22c30cb747c06392248bcf4068df0d02239 /IkiWiki/Plugin
parent8e50e00d25d321a8689051f7ab7452311c3925d5 (diff)
Use xhtml friendly pubdate setting.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/relativedate.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/relativedate.pm b/IkiWiki/Plugin/relativedate.pm
index fe8ef0901..179f9238c 100644
--- a/IkiWiki/Plugin/relativedate.pm
+++ b/IkiWiki/Plugin/relativedate.pm
@@ -59,7 +59,7 @@ sub mydisplaytime ($;$$) {
if ($config{html5}) {
return '<time datetime="'.IkiWiki::date_3339($time).'"'.
- ($pubdate ? ' pubdate' : '').$mid.'</time>';
+ ($pubdate ? ' pubdate="pubdate"' : '').$mid.'</time>';
}
else {
return '<span'.$mid.'</span>';