How to add attributes like async
or defer
in script tag in Haml? I tried to put it on a same line as href, but it does not work.
%a.twitter-share-button{href: "https://twitter.com/share?ref_src=twsrc%5Etfw", data: { url: "http://example.net", show: { count: "false" } } } Tweet