From a285aa315868c39b5ef898faa34ee31421339a8b Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 15 Oct 2023 03:25:23 +0300 Subject: [PATCH] fix cyrillic tags highlight --- src/Controller/TorrentController.php | 2 +- templates/default/torrent/list.html.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/TorrentController.php b/src/Controller/TorrentController.php index 1f38f46..065aca9 100644 --- a/src/Controller/TorrentController.php +++ b/src/Controller/TorrentController.php @@ -254,7 +254,7 @@ class TorrentController extends AbstractController { if (in_array($keyword, $query)) { - $keywords[] = urlencode($keyword); + $keywords[] = $keyword; } } diff --git a/templates/default/torrent/list.html.twig b/templates/default/torrent/list.html.twig index bc0f1ce..729f684 100644 --- a/templates/default/torrent/list.html.twig +++ b/templates/default/torrent/list.html.twig @@ -45,7 +45,7 @@ {% if torrent.keywords %}
{% for keyword in torrent.keywords %} - + #{{ keyword }} {% endfor %}