summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-31 16:38:09 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-31 16:38:09 -0400
commit6cdf6038754f18af4509ecf078f51894f63c5853 (patch)
tree17cc11502d8ff1bbe553972f66e6e73bdb2056b4 /templates
parentd692bce68674934a4af2e9cba79d65e72279b0a9 (diff)
Fix last commit; Make Tinyboard Twig extension more mb-safe
Diffstat (limited to 'templates')
-rw-r--r--templates/post_thread.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/post_thread.html b/templates/post_thread.html
index 6d14f207..21add308 100644
--- a/templates/post_thread.html
+++ b/templates/post_thread.html
@@ -23,9 +23,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 %}