]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/pubdate_not_valid_for_html5.mdwn
thanks for the patch!
[git.ikiwiki.info.git] / doc / bugs / pubdate_not_valid_for_html5.mdwn
1 The `pubdate` attribute is not valid for modern HTML(5).
3 The [h-entry microformat](http://microformats.org/wiki/h-entry) describes
4 an alternative way to achieve the same thing: a `dt-published` class name.
6 Patch: <https://github.com/jmtd/ikiwiki/commit/a137103d3004cc8cec42459205684ec48af0ca11>
7 [[!tag patch]]
8 [[!template id=gitbranch branch=jon/html5-no-pubdate-attribute author="[[Jon]]"]]
9 *—[[Jon]], 2020-10-06*
11 > LGTM. In [[bugs/charset_attribute_on_the_script_element_is_obsolete]], I found that `itemprop="datePublished"` was another way to do this, but it seems like there is no real standard way to do this anymore, so I'm happy with anything that doesn't break validators. :) *--[[anarcat]], 2022-09-06*