Skip to content

Commit ac29a8b

Browse files
committed
minor #10833 Missing > in image tags (loevgaard)
This PR was submitted for the 4.2 branch but it was merged into the 3.4 branch instead (closes #10833). Discussion ---------- Missing > in image tags <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- a653510 Missing > in image tags
2 parents c166715 + a653510 commit ac29a8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/encore/copy-files.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ To render inside Twig, use the ``asset()`` function:
5757
.. code-block:: html+twig
5858

5959
{# assets/images/logo.png was copied to web/build/logo.png #}
60-
<img src="{{ asset('build/logo.png') }}"
60+
<img src="{{ asset('build/logo.png') }}">
6161

6262
{# assets/images/subdir/logo.png was copied to web/build/subdir/logo.png #}
63-
<img src="{{ asset('build/subdir/logo.png') }}"
63+
<img src="{{ asset('build/subdir/logo.png') }}">
6464

6565
Make sure you've enabled the :ref:`json_manifest_path <load-manifest-files>` option,
6666
which tells the ``asset()`` function to read the final paths from the ``manifest.json``

0 commit comments

Comments
 (0)