Hmm, too bad that the HTML4 code they propose fails validation with my validator (Nokigiri) and the HTML5 code they propose doesn't seem to work on HTML4 pages.
I solved it by mixing and matching the two:
<div class="g-plusone" size="small" count="false"></div>
This fails the official W3C validator but it works with Nokogiri. The odd way to set the language of the button {"lang":"de"} trips up syntax error marking in my IDE too.
I solved it by mixing and matching the two: <div class="g-plusone" size="small" count="false"></div>
This fails the official W3C validator but it works with Nokogiri. The odd way to set the language of the button {"lang":"de"} trips up syntax error marking in my IDE too.