tabalinas / jssocials

Social Network Sharing jQuery Plugin
http://js-socials.com
MIT License
464 stars 104 forks source link

Sharing IMG to Pinterest using URL is showing HTML? #221

Open marcodeluca opened 5 years ago

marcodeluca commented 5 years ago

Trying to share a single image to pinterest using the following:

$(".shareimg").each(function() {
      $(this).jsSocials({
        shares: ["pinterest"],
        url: $(this).data("url"),
        shareIn: "popup"
      });
    });

Result is showing the image, sometimes duplicated which I dont mind but its the block of code that doesnt make sense to me:

screen shot 2018-12-02 at 10 59 40 am

Any ideas why that is being included in the choice of images to share?