From 9bd0572b63e5a2bc98da0375ab2bd32b546efd12 Mon Sep 17 00:00:00 2001 From: Jason Lam <3edgy6u@gmail.com> Date: Fri, 9 May 2014 20:37:31 -0400 Subject: [PATCH] use new truncate_filename function --- templates/post/fileinfo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html index dcbb249d..c2a0aa6a 100644 --- a/templates/post/fileinfo.html +++ b/templates/post/fileinfo.html @@ -22,7 +22,7 @@ {% if config.show_filename and file.filename %} , {% if file.filename|length > config.max_filename_display %} - {{ file.filename|truncate(config.max_filename_display)|bidi_cleanup }} + {{ file.filename|truncate_filename(config.max_filename_display)|bidi_cleanup }} {% else %} {{ file.filename|e|bidi_cleanup }} {% endif %}