Invalid XHTML generated by flattr plugin

Found a bug? Tell us!!
Post Reply
hanno
Regular
Posts: 72
Joined: Fri May 20, 2005 8:04 am
Contact:

Invalid XHTML generated by flattr plugin

Post by hanno »

I just noted that my blog currently doesn't generate valid XHTML code. The cause is the flattr plugin. It produces errors like this:
* there is no attribute "data-flattr-uid"
* there is no attribute "data-flattr-tags"
* there is no attribute "data-flattr-category"

You can check here:
http://validator.w3.org/check?uri=blog.hboeck.de

I first thought this might be due to stuff I modified on my blog, but this also happens on the s9y blog itself (along with other errors and warnings unrelated to that):
http://validator.w3.org/check?uri=blog.s9y.org
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Invalid XHTML generated by flattr plugin

Post by yellowled »

hanno wrote:I just noted that my blog currently doesn't generate valid XHTML code. The cause is the flattr plugin. It produces errors like this:
* there is no attribute "data-flattr-uid"
* there is no attribute "data-flattr-tags"
* there is no attribute "data-flattr-category"
That's because data-* is an HTML5 element. So the plugin would need alternate markup for blogs still running on XHTML. (Or you could just ignore the fact that it's not valid, of course.)

YL
Post Reply