Skip to content

Commit

Permalink
fix: spaces in post title are encoded when sharing
Browse files Browse the repository at this point in the history
Reproducible on iOS Safari
  • Loading branch information
cotes2020 committed Dec 7, 2022
1 parent ec98f07 commit 7efd2f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion _includes/post-sharing.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<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 | url_encode %}
{% assign url = page.url | absolute_url | url_encode %}

{% for share in site.data.share.platforms %}
Expand Down

0 comments on commit 7efd2f8

Please sign in to comment.