diff --git a/_includes/post-sharing.html b/_includes/post-sharing.html
index d6c80d7..69714ae 100644
--- a/_includes/post-sharing.html
+++ b/_includes/post-sharing.html
@@ -6,10 +6,11 @@
{{ site.data.locales[lang].post.share }}
{% capture title %}{{ page.title }} - {{ site.title }}{% endcapture %}
- {% assign url = page.url | absolute_url %}
+ {% assign title = title | url_encode %}
+ {% assign url = page.url | absolute_url | url_encode %}
{% for share in site.data.share.platforms %}
- {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url | escape %}
+ {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %}