@@ -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
@@ -973,7 +973,7 @@ following code to display the user information is repeated in several places:
973973
974974 {# ... #}
975975 <div class="user-profile">
976- <img src="{{ user.profileImageUrl }}" alt="{{ user.fullName }}"/ >
976+ <img src="{{ user.profileImageUrl }}" alt="{{ user.fullName }}">
977977 <p>{{ user.fullName }} - {{ user.email }}</p>
978978 </div>
979979
@@ -1258,7 +1258,7 @@ In practice, the ``base.html.twig`` template would look like this:
12581258 <meta charset="UTF-8">
12591259 <title>{% block title %}My Application{% endblock %}</title>
12601260 {% block stylesheets %}
1261- <link rel="stylesheet" type="text/css" href="/css/base.css"/ >
1261+ <link rel="stylesheet" type="text/css" href="/css/base.css">
12621262 {% endblock %}
12631263 </head>
12641264 <body>
0 commit comments