fix cyrillic tags highlight

This commit is contained in:
ghost 2023-10-15 03:25:23 +03:00
parent 06dd75eb1e
commit a285aa3158
2 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,7 @@ class TorrentController extends AbstractController
{
if (in_array($keyword, $query))
{
$keywords[] = urlencode($keyword);
$keywords[] = $keyword;
}
}

View File

@ -45,7 +45,7 @@
{% if torrent.keywords %}
<div class="margin-b-16-px">
{% for keyword in torrent.keywords %}
<a href="{{ path('torrent_search', { query : keyword }) }}">
<a href="{{ path('torrent_search', { query : keyword | url_encode(true) }) }}">
#{{ keyword }}
</a>
{% endfor %}