Erik's Weblog 2.0

August 24, 2011

[@309]

+1 Button Generator Bug

While changing the code for my +1 button to use the recently announced +Snippets, I noticed that the +1 Button Generator is outputting invalid syntax when using HTML5 and specifying a URL.

The generator currently outputs something like:

<div class=g-plusone data-annotation=inline href="http://foo.com"></div>

When the correct syntax should be:

<div class=g-plusone data-annotation=inline data-href="http://foo.com"></div>

Took me a while to figure out what was going on.

I've reported the problem on the Webmaster Central forum.

[@756]

What's on my Galaxy Tab 10.1?

111 total, 97 free (87%), 14 paid (12%), 334MB total size

View this Android app list on AppBrain

[@756]

What's on my Nexus S?

140 total, 124 free (88%), 16 paid (11%), 303MB total size

View this Android app list on AppBrain