diff --git a/files/templates/comments.html b/files/templates/comments.html
index df5abfd92..c66de01ca 100644
--- a/files/templates/comments.html
+++ b/files/templates/comments.html
@@ -310,13 +310,13 @@
{% if v and (request.path.startswith('/@') and not wall) and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %}
- {% if voted==1 %}
+ {% if voted == 1 %}
{% endif %}
- {% if voted==-1 %}
+ {% if voted == -1 %}
{% endif %}
@@ -351,16 +351,14 @@
-
{% if v and (request.path.startswith('/@') and not wall) and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %}
- {% if voted==1 %}
+ {% if voted == 1 %}
{% endif %}
{% elif v %}
-
{% else %}
-
{% endif %}
@@ -368,16 +366,13 @@
{% if v and (request.path.startswith('/@') and not wall) and v.admin_level < PERMS['VIEW_VOTE_BUTTONS_ON_USER_PAGE'] %}
- {% if voted==-1 %}
+ {% if voted == -1 %}
{% endif %}
{% elif v %}
-
{% else %}
-
-
{% endif %}
{% if v and (not c.ghost or v.admin_level >= PERMS['SEE_GHOST_VOTES']) %}