Skip to content

Commit 8dd706d

Browse files
committed
minor #2170 [TwigComponent] Update index.rst (LaurentMarquet)
This PR was merged into the 2.x branch. Discussion ---------- [TwigComponent] Update index.rst Just removed a lasting " in code | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Issues | no | License | MIT Commits ------- 675a707 Update index.rst
2 parents 7c244fb + 675a707 commit 8dd706d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TwigComponent/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ close tag, it's passed to your component template as the block called
348348

349349
.. code-block:: html+twig
350350

351-
<div {{ attributes.defaults({class: 'alert alert-' ~ type}) }}">
351+
<div {{ attributes.defaults({class: 'alert alert-' ~ type}) }}>
352352
{% block content %}{% endblock %}
353353
</div>
354354

@@ -1771,4 +1771,4 @@ https://symfony.com/doc/current/contributing/code/bc.html
17711771
.. _`html_cva`: https://twig.symfony.com/doc/3.x/functions/html_cva.html
17721772
.. _`shadcn/ui`: https://ui.shadcn.com
17731773
.. _`tales-from-a-dev/twig-tailwind-extra`: https://github.com/tales-from-a-dev/twig-tailwind-extra
1774-
.. _`ignore not defined options`: https://symfony.com/doc/current/components/options_resolver.html#ignore-not-defined-options
1774+
.. _`ignore not defined options`: https://symfony.com/doc/current/components/options_resolver.html#ignore-not-defined-options

0 commit comments

Comments
 (0)