diff --git a/files/templates/comments.html b/files/templates/comments.html
index 0aa713d1e..6d6a3aa70 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -365,12 +365,12 @@
{% elif v %}
-
@@ -407,7 +407,7 @@
{% endif %}
{% elif v %}
-
+
{% else %}
@@ -423,7 +423,7 @@
{% endif %}
{% elif v %}
-
+
{% else %}
diff --git a/files/templates/submission.html b/files/templates/submission.html
index 91ebb017f..2b256b3a7 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -808,19 +808,19 @@
{% if v %}
{% else %}
-
{% endif %}
@@ -871,7 +871,7 @@
{% endif %}
{% if v %}
-
+
{% else %}
@@ -882,7 +882,7 @@
{{score}}
{% if v %}
-
+
{% else %}
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html
index 0ba5a2c0c..2fc7a271b 100644
--- a/files/templates/submission_listing.html
+++ b/files/templates/submission_listing.html
@@ -28,25 +28,25 @@
-