diff --git a/files/templates/comments.html b/files/templates/comments.html
index 2f09b2371..adaa7aef8 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -255,12 +255,12 @@
{% endif %}
{% elif v %}
-
{% else %}
-
{% endif %}
@@ -355,9 +355,9 @@
{% endif %}
{% elif v %}
-
+
{% else %}
-
+
{% endif %}
diff --git a/files/templates/submission.html b/files/templates/submission.html
index ba169ab8e..b1e4c2aed 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -474,7 +474,7 @@
{{score}}
-
+
{% else %}
@@ -483,7 +483,7 @@
{{score}}
-
+
{% endif %}
@@ -535,9 +535,9 @@
{{score}}
{% if v %}
-
+
{% else %}
-
+
{% endif %}
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html
index 8963267c6..bcfe3b2e8 100644
--- a/files/templates/submission_listing.html
+++ b/files/templates/submission_listing.html
@@ -45,7 +45,7 @@
{{score}}
-
+
{% else %}
@@ -53,7 +53,7 @@
{{score}}
-
+
{% endif %}
@@ -257,7 +257,7 @@
{{score}}
-
+