Skip to content

Commit

Permalink
minor symfony#2170 [TwigComponent] Update index.rst (LaurentMarquet)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
smnandre committed Sep 15, 2024
2 parents 7c244fb + 675a707 commit 8dd706d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TwigComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ close tag, it's passed to your component template as the block called

.. code-block:: html+twig

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

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

0 comments on commit 8dd706d

Please sign in to comment.