summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-05-10 21:58:34 +0200
committerczaks <marcin@6irc.net>2014-05-10 21:58:34 +0200
commit4288898dfa118f04b3f557f861c9da712fd4161c (patch)
treef09c92c2b42370b74bf2831bc3dd24bf9d0b913d /templates
parent19ce50c545bf4c4eced7b7d4223125a41d1648ea (diff)
parent7b57a4b9119f8e1e539957188c06c43831782349 (diff)
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Diffstat (limited to 'templates')
-rw-r--r--templates/post/fileinfo.html2
1 files changed, 1 insertions, 1 deletions
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 %}
- <span class="postfilename" title="{{ file.filename|e }}">{{ file.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span>
+ <span class="postfilename" title="{{ file.filename|e }}">{{ file.filename|truncate_filename(config.max_filename_display)|bidi_cleanup }}</span>
{% else %}
<span class="postfilename">{{ file.filename|e|bidi_cleanup }}</span>
{% endif %}