diff --git a/lms/templates/wiki/history.html b/lms/templates/wiki/history.html
index f0a0d87253..71a9c314e4 100644
--- a/lms/templates/wiki/history.html
+++ b/lms/templates/wiki/history.html
@@ -215,15 +215,15 @@
{% trans "Back to history view" as tmsg %}{{tmsg|force_escape}}
{% if article|can_write:user %}
-
+
{% else %}
-
+
{% endif %}
@@ -250,15 +250,15 @@
{% trans "Back to history view" as tmsg%}{{tmsg|force_escape}}
{% if article|can_write:user %}
-
+
{% else %}
-
+
{% endif %}