diff --git a/_includes/post-sharing.html b/_includes/post-sharing.html
index 2cb118f..d6c80d7 100644
--- a/_includes/post-sharing.html
+++ b/_includes/post-sharing.html
@@ -9,7 +9,7 @@
{% assign url = page.url | absolute_url %}
{% for share in site.data.share.platforms %}
- {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url %}
+ {% assign link = share.link | replace: 'TITLE', title | replace: 'URL', url | escape %}