From 90be650dd8be29d435306bb80133d3db54e68bf8 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Mon, 23 Jun 2025 17:42:25 +0200 Subject: [PATCH] [Templates] Removing self-closing slashes Page: https://symfony.com/doc/current/templates.html --- templates.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates.rst b/templates.rst index 151ac5f71be..e895b4a6df3 100644 --- a/templates.rst +++ b/templates.rst @@ -304,10 +304,10 @@ You can now use the ``asset()`` function: .. code-block:: html+twig {# the image lives at "public/images/logo.png" #} - Symfony! + Symfony! {# the CSS file lives at "public/css/blog.css" #} - + {# the JS file lives at "public/bundles/acme/js/loader.js" #} @@ -332,7 +332,7 @@ as follows: .. code-block:: html+twig - Symfony! + Symfony! @@ -973,7 +973,7 @@ following code to display the user information is repeated in several places: {# ... #}
- {{ user.fullName }} + {{ user.fullName }}

{{ user.fullName }} - {{ user.email }}

@@ -1258,7 +1258,7 @@ In practice, the ``base.html.twig`` template would look like this: {% block title %}My Application{% endblock %} {% block stylesheets %} - + {% endblock %}