diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-19 05:19:54 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-08-19 05:19:54 +1000 |
| commit | d2fdeead6408743b7d69bd098ea3c23358bfd395 (patch) | |
| tree | 4899e697d2dfea859293c1badfc87b81d75084f8 /templates | |
| parent | dcb42a52cb89742f4c4e7805a6c615e598645a97 (diff) | |
bidi_cleanup: Just replace with HTML5's <bdi> (for now, at least). The old code was hardly working, and had issued with older PHP versions.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/post_reply.html | 2 | ||||
| -rw-r--r-- | templates/post_thread.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/post_reply.html b/templates/post_reply.html index bc3d36cd..28cbd7f8 100644 --- a/templates/post_reply.html +++ b/templates/post_reply.html @@ -71,7 +71,7 @@ {% if config.show_filename and post.filename %} , {% if post.filename|length > config.max_filename_display %} - <span class="postfilename" title="{{ post.filename|e|bidi_cleanup }}">{{ post.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span> + <span class="postfilename" title="{{ post.filename|e }}">{{ post.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span> {% else %} <span class="postfilename">{{ post.filename|e|bidi_cleanup }}</span> {% endif %} diff --git a/templates/post_thread.html b/templates/post_thread.html index d5d6016e..0ee3f6fa 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -23,7 +23,7 @@ {% if config.show_filename and post.filename %} , {% if post.filename|length > config.max_filename_display %} - <span class="postfilename" title="{{ post.filename|e|bidi_cleanup }}">{{ post.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span> + <span class="postfilename" title="{{ post.filename|e }}">{{ post.filename|truncate(config.max_filename_display)|bidi_cleanup }}</span> {% else %} <span class="postfilename">{{ post.filename|e|bidi_cleanup }}</span> {% endif %} |
