So you have run your site through the Nu Html Checker and everything is tickity-boo except the Google share button. Bah! You get an error that looks like this:
The text content of element
script
was not in the required format: Expected space, tab, newline, or slash but found{
instead.
If, like me, you wanted to change the language of the share button and ended up with some code that looks like this:
<script src=”https://apis.google.com/js/platform.js” async defer>{lang: ‘en-US’}</script>
…then this will be where the problem lies. Here is why and how to fix it.
Continue reading Google Share Button Does Not Validate – Not Valid HTML