@@ -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
@@ -946,7 +946,7 @@ following code to display the user information is repeated in several places:
946946
947947 {# ... #}
948948 <div class="user-profile">
949- <img src="{{ user.profileImageUrl }}" alt="{{ user.fullName }}"/ >
949+ <img src="{{ user.profileImageUrl }}" alt="{{ user.fullName }}">
950950 <p>{{ user.fullName }} - {{ user.email }}</p>
951951 </div>
952952
@@ -1231,7 +1231,7 @@ In practice, the ``base.html.twig`` template would look like this:
12311231 <meta charset="UTF-8">
12321232 <title>{% block title %}My Application{% endblock %}</title>
12331233 {% block stylesheets %}
1234- <link rel="stylesheet" type="text/css" href="/css/base.css"/ >
1234+ <link rel="stylesheet" type="text/css" href="/css/base.css">
12351235 {% endblock %}
12361236 </head>
12371237 <body>
0 commit comments