Twitter Share Code Causing Validation Errors


#1

I don’t think these are too important or if they are an easy fix replacing with & however I’m going to ask just to be on the safe side!

1).

& did not start a character reference. (& probably should have been escaped as &.)
er.com/intent/tweet?source=tweetbutton&original_referer=http://a

2).

& did not start a character reference. (& probably should have been escaped as &.)
…v-4.html&text=Why%20ABCD%20Fav%204%3F&url=http:/…

There are a total of 10 caused by the Twitter share feature.

My full share button code for this page:

<a class="target share-twitter" href="https://twitter.com/intent/tweet?source=tweetbutton&original_referer=http://abcdfav4.com/Grown-Ups/KickStarterCampaign/Why-ABCD-Fav-4.html&text=Why%20ABCD%20Fav%204%3F&url=http://abcdfav4.com/Grown-Ups/KickStarterCampaign/Pledging-Rewards/ThePeaceSensation.html&via=abcdfav4&original_referer=http://abcdfav4.com" target="_blank" onClick="window.open('https://twitter.com/intent/tweet?source=tweetbutton&original_referer=http://abcdfav4.com/Grown-Ups/KickStarterCampaign/Why-ABCD-Fav-4.html&text=More%20than%20half%20of%20kids%20don%27t%20eat%20a%20single%20portion%20of%20vegetables%20a%20day%20but%20ABCD%20Fav%204%20could%20change%20this!&url=http://bit.ly/1CjP2q9&via=abcdfav4&original_referer=http://abcdfav4.com', 'newwindowt', 'width=625, height=380'); return false;">
<img src="../../../images/twitter.png" alt=""  class="imgt"/>
</a>

Thank you for any help as always,
Best Regards,
Tim


#2

New Code for anyone with the same problem

<a class="target share-twitter" href="https://twitter.com/intent/tweet?source=tweetbutton&amp;original_referer=http://abcdfav4.com/Grown-Ups/KickStarterCampaign/Why-ABCD-Fav-4.html&amp;text=Why%20ABCD%20Fav%204%3F&amp;url=http://abcdfav4.com/Grown-Ups/KickStarterCampaign/Pledging-Rewards/ThePeaceSensation.html&amp;via=abcdfav4&amp;original_referer=http://abcdfav4.com" target="_blank" onClick="window.open('https://twitter.com/intent/tweet?source=tweetbutton&amp;original_referer=http://abcdfav4.com/Grown-Ups/KickStarterCampaign/Why-ABCD-Fav-4.html&amp;text=More%20than%20half%20of%20kids%20don%27t%20eat%20a%20single%20portion%20of%20vegetables%20a%20day%20but%20ABCD%20Fav%204%20could%20change%20this!&amp;url=http://bit.ly/1CjP2q9&amp;via=abcdfav4&amp;original_referer=http://abcdfav4.com', 'newwindowt', 'width=625, height=380'); return false;">
<img src="../../../images/twitter.png" alt=""  class="imgt"/>
</a>

I was correct, replace all & with &amp; - I looked through this a little more and noticed it was just a big link and of course in links you need to replace…


#3