diff --git a/src/Symfony/Bundle/Resources/views/SwaggerUi/index.html.twig b/src/Symfony/Bundle/Resources/views/SwaggerUi/index.html.twig
index edf88fa9ad8..34193e1da40 100644
--- a/src/Symfony/Bundle/Resources/views/SwaggerUi/index.html.twig
+++ b/src/Symfony/Bundle/Resources/views/SwaggerUi/index.html.twig
@@ -82,8 +82,8 @@
Other API docs:
{% set active_ui = app.request.get('ui', 'swagger_ui') %}
- {% if swaggerUiEnabled and active_ui != 'swagger_ui' %}Swagger UI{% endif %}
- {% if reDocEnabled and active_ui != 're_doc' %}ReDoc{% endif %}
+ {% if swaggerUiEnabled and active_ui != 'swagger_ui' %}Swagger UI{% endif %}
+ {% if reDocEnabled and active_ui != 're_doc' %}ReDoc{% endif %}
{% if not graphQlEnabled or graphiQlEnabled %}GraphiQL{% endif %}