diff --git a/packages/govuk-frontend/src/govuk/components/table/template.njk b/packages/govuk-frontend/src/govuk/components/table/template.njk
index b6006e9f5e..3e84551a92 100644
--- a/packages/govuk-frontend/src/govuk/components/table/template.njk
+++ b/packages/govuk-frontend/src/govuk/components/table/template.njk
@@ -18,28 +18,28 @@
{% endif %}
- {% for row in params.rows %}
- {% if row %}
-
- {% for cell in row %}
- {% set commonAttributes %}
- {%- if cell.colspan %} colspan="{{ cell.colspan }}"{% endif %}
- {%- if cell.rowspan %} rowspan="{{ cell.rowspan }}"{% endif %}{% for attribute, value in cell.attributes %} {{ attribute }}="{{ value }}"{% endfor %}
- {% endset %}
- {% if loop.first and params.firstCellIsHeader %}
-
- {% else %}
- {{ cell.html | safe if cell.html else cell.text }} |
- {% endif %}
- {% endfor %}
-
+ {% for row in params.rows %}
+ {% if row %}
+
+ {% for cell in row %}
+ {% set commonAttributes %}
+ {%- if cell.colspan %} colspan="{{ cell.colspan }}"{% endif %}
+ {%- if cell.rowspan %} rowspan="{{ cell.rowspan }}"{% endif %}{% for attribute, value in cell.attributes %} {{ attribute }}="{{ value }}"{% endfor %}
+ {% endset %}
+ {% if loop.first and params.firstCellIsHeader %}
+
+ {% else %}
+ {{ cell.html | safe if cell.html else cell.text }} |
{% endif %}
{% endfor %}
+
+ {% endif %}
+ {% endfor %}