summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-31 16:34:50 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-31 16:34:50 -0400
commitd692bce68674934a4af2e9cba79d65e72279b0a9 (patch)
tree7832e3570d64cd9aca899351e5d8c2adbd403d49 /templates
parentdc1d1a3fcd0e6a9e4f1ba791e15765d68b09e6dc (diff)
Fix issue #74. Note: This bug may break the display of certain filenames prior to upgrade.
Diffstat (limited to 'templates')
-rw-r--r--templates/post_reply.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/post_reply.html b/templates/post_reply.html
index bc96e74c..b0391f19 100644
--- a/templates/post_reply.html
+++ b/templates/post_reply.html
@@ -66,9 +66,9 @@
{% if config.show_filename and post.filename %}
,
{% if post.filename|length > config.max_filename_display %}
- <span class="postfilename" title="{{ post.filename|bidi_cleanup }}">{{ post.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span>
+ <span class="postfilename" title="{{ post.filename|e|bidi_cleanup }}">{{ post.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span>
{% else %}
- <span class="postfilename">{{ post.filename|bidi_cleanup }}</span>
+ <span class="postfilename">{{ post.filename|e|bidi_cleanup }}</span>
{% endif %}
{% endif %}
{% if post.thumb != 'file' and config.image_identification %}