From 938319fd21c919872c4d2b9d7fac0b5a720a8fd7 Mon Sep 17 00:00:00 2001 From: discomrade Date: Tue, 28 Sep 2021 08:06:03 +0000 Subject: [PATCH] Enable download with filename without JavaScript --- templates/post/fileinfo.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html index a551e8bb..b0026419 100644 --- a/templates/post/fileinfo.html +++ b/templates/post/fileinfo.html @@ -22,9 +22,9 @@ {% if config.show_filename and file.filename %} , {% if file.filename|length > config.max_filename_display %} - {{ file.filename|truncate_filename(config.max_filename_display)|e|bidi_cleanup }} + {{ file.filename|truncate_filename(config.max_filename_display)|e|bidi_cleanup }} {% else %} - {{ file.filename|e|bidi_cleanup }} + {{ file.filename|e|bidi_cleanup }} {% endif %} {% endif %} )