Skip to content

Commit

Permalink
Fixes search results not being URL encoded
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeSteam committed Dec 27, 2024
1 parent a1a1177 commit b49cf0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/custom/tags.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% for tag in post.tags %}
<a class="tag" href="/search/?q={{ tag }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
<a class="tag" href="/search/?q={{ tag | url_encode }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
{% endfor %}
{% for tag in page.tags %}
<a class="tag" href="/search/?q={{ tag }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
<a class="tag" href="/search/?q={{ tag | url_encode }}">{{ tag }}</a>{% unless forloop.last %}, {% endunless %}
{% endfor %}

0 comments on commit b49cf0f

Please sign in to comment.