@@ -304,10 +304,10 @@ You can now use the ``asset()`` function:
304304.. code-block :: html+twig
305305
306306 {# the image lives at "public/images/logo.png" #}
307- <img src="{{ asset('images/logo.png') }}" alt="Symfony!"/ >
307+ <img src="{{ asset('images/logo.png') }}" alt="Symfony!">
308308
309309 {# the CSS file lives at "public/css/blog.css" #}
310- <link href="{{ asset('css/blog.css') }}" rel="stylesheet"/ >
310+ <link href="{{ asset('css/blog.css') }}" rel="stylesheet">
311311
312312 {# the JS file lives at "public/bundles/acme/js/loader.js" #}
313313 <script src="{{ asset('bundles/acme/js/loader.js') }}"></script>
@@ -332,7 +332,7 @@ as follows:
332332
333333.. code-block :: html+twig
334334
335- <img src="{{ absolute_url(asset('images/logo.png')) }}" alt="Symfony!"/ >
335+ <img src="{{ absolute_url(asset('images/logo.png')) }}" alt="Symfony!">
336336
337337 <link rel="shortcut icon" href="{{ absolute_url('favicon.png') }}">
338338
@@ -969,7 +969,7 @@ following code to display the user information is repeated in several places:
969969
970970 {# ... #}
971971 <div class="user-profile">
972- <img src="{{ user.profileImageUrl }}" alt="{{ user.fullName }}"/ >
972+ <img src="{{ user.profileImageUrl }}" alt="{{ user.fullName }}">
973973 <p>{{ user.fullName }} - {{ user.email }}</p>
974974 </div>
975975
@@ -1254,7 +1254,7 @@ In practice, the ``base.html.twig`` template would look like this:
12541254 <meta charset="UTF-8">
12551255 <title>{% block title %}My Application{% endblock %}</title>
12561256 {% block stylesheets %}
1257- <link rel="stylesheet" type="text/css" href="/css/base.css"/ >
1257+ <link rel="stylesheet" type="text/css" href="/css/base.css">
12581258 {% endblock %}
12591259 </head>
12601260 <body>
0 commit comments