diff --git a/CTFd/templates/teams.html b/CTFd/templates/teams.html
index 45d04b31..70b98e4c 100644
--- a/CTFd/templates/teams.html
+++ b/CTFd/templates/teams.html
@@ -33,7 +33,7 @@
{% if team_pages > 1 %}
Page
- {% if curr_page != 1 %}
<<<{% endif %}
+ {% if curr_page != 1 %}
<<<{% endif %}
{% for page in range(1, team_pages + 1) %}
{% if curr_page != page %}
{{ page }}
@@ -41,7 +41,7 @@
{{page}}
{% endif %}
{% endfor %}
- {% if curr_page != pages %}
>>>{% endif %}
+ {% if curr_page != pages %}
>>>{% endif %}
{% endif %}