Skip to content

Commit

Permalink
fix: correct encoding of spaces in share URLs (#835)
Browse files Browse the repository at this point in the history
Resolves #835
  • Loading branch information
cotes2020 committed Jan 6, 2023
1 parent 98d48f5 commit f2d2858
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _includes/post-sharing.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<span class="share-label text-muted mr-1">{{ site.data.locales[site.lang].post.share }}</span>
<span class="share-icons">
{% 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 %}
Expand Down

0 comments on commit f2d2858

Please sign in to comment.