diff --git a/templates/cards.html b/templates/cards.html
index 8488169..08b8906 100644
--- a/templates/cards.html
+++ b/templates/cards.html
@@ -57,7 +57,7 @@
{% if card.type == 1 %}
{{ card.back|replace("\n", "
")|safe }}
{% else %}
-
{{ card.back|safe }}
+ {{ card.back|escape }}
{% endif %}
diff --git a/templates/memorize.html b/templates/memorize.html
index b42a3cb..ab93369 100644
--- a/templates/memorize.html
+++ b/templates/memorize.html
@@ -47,7 +47,7 @@
{% endif %}
{% else %}
- {{ card.back|safe }}
+ {{ card.back|escape }}
{% endif %}