Adding encode helper to share link

This commit is contained in:
Hannah Wolfe 2014-01-06 21:06:42 +00:00
parent 054f138135
commit 5c8fc51848

View file

@ -41,7 +41,7 @@
<section class="share"> <section class="share">
<h4>Share this post</h4> <h4>Share this post</h4>
<a class="icon-twitter" href="http://twitter.com/share?text={{title}}&url={{url absolute="true"}}" <a class="icon-twitter" href="http://twitter.com/share?text={{encode title}}&url={{url absolute="true"}}"
onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"> onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;">
<span class="hidden">Twitter</span> <span class="hidden">Twitter</span>
</a> </a>