diff --git a/templates/post_form.html b/templates/post_form.html
index ea3ac765..0e0d3fed 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -98,7 +98,7 @@
|
diff --git a/templates/post_thread_fileboard.html b/templates/post_thread_fileboard.html
index 983bfe17..1a11ff79 100644
--- a/templates/post_thread_fileboard.html
+++ b/templates/post_thread_fileboard.html
@@ -9,7 +9,7 @@
{% include 'post/name.html' %}
{% include 'post/flag.html' %}
| [{{ post.files[0].filename|e|bidi_cleanup }}]
- | {% if post.modifiers['tag'] %}[{{ post.modifiers['tag'] }}]{% endif %}
+ | {% if post.modifiers['tag'] %}[{{ post.modifiers['tag']|e }}]{% endif %}
| {% include 'post/subject.html' %}
{% if post.sticky %}
{% if config.font_awesome %}
|