diff --git a/packages/govuk-frontend/src/govuk/components/checkboxes/template.njk b/packages/govuk-frontend/src/govuk/components/checkboxes/template.njk index ee73c72f1c..9493b6d730 100644 --- a/packages/govuk-frontend/src/govuk/components/checkboxes/template.njk +++ b/packages/govuk-frontend/src/govuk/components/checkboxes/template.njk @@ -59,7 +59,7 @@ {% if item.conditional.html %}
- {{ item.conditional.html | safe | trim | indent(6) }} + {{ item.conditional.html | safe | trim }}
{% endif %} {% endif %} diff --git a/packages/govuk-frontend/src/govuk/components/radios/template.njk b/packages/govuk-frontend/src/govuk/components/radios/template.njk index c8ed88bbc4..80d9723b74 100644 --- a/packages/govuk-frontend/src/govuk/components/radios/template.njk +++ b/packages/govuk-frontend/src/govuk/components/radios/template.njk @@ -52,7 +52,7 @@ {% if item.conditional.html %}
- {{ item.conditional.html | safe | trim | indent(6) }} + {{ item.conditional.html | safe | trim }}
{% endif %} {% endif %}