summaryrefslogtreecommitdiff
path: root/doc/bugs/html5_time_element__39__s_pubdate_wrong_when_using_xhtml5___34__mode__34__.mdwn
blob: def5bcc2a066c5966d638f5b265f0eb456ee2ef2 (plain)

Hi,

XML error:

Created <time datetime="2009-03-24T18:02:14Z" pubdate class="relativedate" title="Tue, 24 Mar 2009 14:02:14 -0400">2009-03-24</time>

The pubdate REQUIRES a date, so e.g. pubdate="2009-03-24T18:02:14Z"

No, pubdate="pubdate". It's a boolean attribute. applied && [[done]] --[[Joey]]

awesome, thanks for fixing my fix ;) --[[simonraven]]

Otherwise the XML parser chokes.

http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#attr-time-pubdate

(indented exactly 4 spaces)