diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-08 19:45:02 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-08 19:45:02 -0400 |
commit | bc0aa4d40e10238f6b83e285869caab3dfeca395 (patch) | |
tree | 3f85c22c30cb747c06392248bcf4068df0d02239 /IkiWiki | |
parent | 8e50e00d25d321a8689051f7ab7452311c3925d5 (diff) | |
download | ikiwiki-bc0aa4d40e10238f6b83e285869caab3dfeca395.tar ikiwiki-bc0aa4d40e10238f6b83e285869caab3dfeca395.tar.gz |
Use xhtml friendly pubdate setting.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/relativedate.pm | 2 |
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>'; |