Skip to content

Commit 68fe90c

Browse files
committed
Fixed special characters in URL.
1 parent 8b50150 commit 68fe90c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_includes/trending-tags.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
{% for trend in trends %}
2121
{% assign count = count | plus: 1 %}
2222
{% assign tag = trend | split: ":" | last %}
23-
<a class="post-tag" href="{{ site.baseurl }}/tags/{{ tag | downcase }}/">{{ tag | replace: '-', ' ' }}</a>
23+
<a class="post-tag" href="{{ site.baseurl }}/tags/{{ tag | downcase | url_encode }}/">{{ tag | replace: '-', ' ' }}</a>
2424
{% if count >= MAX %}
2525
{% break %}
2626
{% endif %}

0 commit comments

Comments
 (0)