There is a button to share in VK, everything works, but there is a small problem with the dollar sign at the stage of sharing:

html code is displayed instead of $

instead of $ shows html code

How to fix it?

code in rails application

javascript: document.write(VK.Share.button({ url: "#{request.original_url}", title: "#{@product.title}", description: "#{@product.seo_description}", image: "#{image_path @product.photos.first.image.url}" }, {type:'custom', text: "<i class='icon-vk'></i>"} )); @product.seo_description => 'Only 200$' в html коде `description: "Only 200.0$" 
  • The problem is most likely on your side. But if you do not show your code, we will only have to guess. - VladD

0