diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 16:38:09 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-31 16:38:09 -0400 |
| commit | 6cdf6038754f18af4509ecf078f51894f63c5853 (patch) | |
| tree | 17cc11502d8ff1bbe553972f66e6e73bdb2056b4 /templates/post_thread.html | |
| parent | d692bce68674934a4af2e9cba79d65e72279b0a9 (diff) | |
Fix last commit; Make Tinyboard Twig extension more mb-safe
Diffstat (limited to 'templates/post_thread.html')
| -rw-r--r-- | templates/post_thread.html | 4 |
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 %} |
