From f2d285844e6e2979f2b0eec1d20073d3c05b6c0c Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 6 Jan 2023 06:44:08 +0800 Subject: [PATCH] fix: correct encoding of spaces in share URLs (#835) Resolves #835 --- _includes/post-sharing.html | 1 + 1 file changed, 1 insertion(+) diff --git a/_includes/post-sharing.html b/_includes/post-sharing.html index 7285c39..c241ea5 100644 --- a/_includes/post-sharing.html +++ b/_includes/post-sharing.html @@ -6,6 +6,7 @@ {{ site.data.locales[site.lang].post.share }} {% capture title %}{{ page.title }} - {{ site.title }}{% endcapture %} + {% assign title = title | uri_escape %} {% assign url = page.url | absolute_url | url_encode %} {% for share in site.data.share.platforms %}