Skip to content

Commit f2d2858

Browse files
committed
fix: correct encoding of spaces in share URLs (#835)
Resolves #835
1 parent 98d48f5 commit f2d2858

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_includes/post-sharing.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<span class="share-label text-muted mr-1">{{ site.data.locales[site.lang].post.share }}</span>
77
<span class="share-icons">
88
{% capture title %}{{ page.title }} - {{ site.title }}{% endcapture %}
9+
{% assign title = title | uri_escape %}
910
{% assign url = page.url | absolute_url | url_encode %}
1011

1112
{% for share in site.data.share.platforms %}

0 commit comments

Comments
 (0)