Page 1 of 1

Invalid XHTML generated by flattr plugin

Posted: Fri Nov 22, 2013 12:33 pm
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

Re: Invalid XHTML generated by flattr plugin

Posted: Fri Nov 22, 2013 2:22 pm
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