Fixed problem with html tags in the twitter button data-* attribute - added for pinterest button too.