Skip to content

Commit

Permalink
fix: correct encoding of spaces in share URLs (cotes2020#835)
Browse files Browse the repository at this point in the history
Resolves cotes2020#835
  • Loading branch information
cotes2020 committed Jan 6, 2023
1 parent 2a44e0c commit f8e8a0f
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 f8e8a0f

Please sign in to comment.