Adding encode helper to share link
This commit is contained in:
parent
054f138135
commit
5c8fc51848
1 changed files with 1 additions and 1 deletions
2
post.hbs
2
post.hbs
|
@ -41,7 +41,7 @@
|
|||
|
||||
<section class="share">
|
||||
<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;">
|
||||
<span class="hidden">Twitter</span>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue