Wanting to add Pinterest data-attributes to image tags, the HTML looks like this:
<img data-pin-media="<?=$imageUrl->url()?>" />
But Kirby returns:
<img data-pinmedia="https://mysite.com/thumbs/home/myimage.png" />
Only the first hyphen comes out!
Has anyone ever had this problem? Is it a Kirby bug?
Thanks for your help