From d8ef29755ebcc3123c7a0acaf4ed56b8ab270ace Mon Sep 17 00:00:00 2001 From: Ricardo Ribeiro Date: Tue, 16 May 2017 15:08:47 +0100 Subject: [PATCH] Remove trailing spacebar on search_results --- nyaa/templates/search_results.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nyaa/templates/search_results.html b/nyaa/templates/search_results.html index 92608c7..f169b6f 100644 --- a/nyaa/templates/search_results.html +++ b/nyaa/templates/search_results.html @@ -60,7 +60,7 @@ {% if use_elastic %} - {%if "highlight" in torrent.meta %}{{ torrent.meta.highlight.display_name[0] | safe }}{% else %}{{torrent.display_name}}{%endif%} + {%if "highlight" in torrent.meta %}{{ torrent.meta.highlight.display_name[0] | safe }}{% else %}{{torrent.display_name}}{%endif%} {% else %} {{ torrent.display_name | escape }} {% endif %} @@ -74,7 +74,7 @@ {{ torrent.filesize | filesizeformat(True) }} {% if use_elastic %} - {{ torrent.created_time | display_time }} + {{ torrent.created_time | display_time }} {% else %} {{ torrent.created_time.strftime('%Y-%m-%d %H:%M') }} {% endif %}