Skip to content

Commit 7b16cef

Browse files
committed
minor #990 [TwigComponent] Add missing spaces in doc (smnandre)
This PR was merged into the 2.x branch. Discussion ---------- [TwigComponent] Add missing spaces in doc Tiny fix : add two missing spaces in doc examples | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Tickets | | License | MIT Commits ------- 7c8c836 CS: Add missing spaces
2 parents 127c6b0 + 7c8c836 commit 7b16cef

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
@@ -578,7 +578,7 @@ Set an attribute's value to ``true`` to render just the attribute name:
578578
.. code-block:: html+twig
579579

580580
{# templates/components/MyComponent.html.twig #}
581-
<input{{ attributes}}/>
581+
<input{{ attributes }}/>
582582

583583
{# render component #}
584584
{{ component('MyComponent', { type: 'text', value: '', autofocus: true }) }}
@@ -591,7 +591,7 @@ Set an attribute's value to ``false`` to exclude the attribute:
591591
.. code-block:: html+twig
592592

593593
{# templates/components/MyComponent.html.twig #}
594-
<input{{ attributes}}/>
594+
<input{{ attributes }}/>
595595

596596
{# render component #}
597597
{{ component('MyComponent', { type: 'text', value: '', autofocus: false }) }}

0 commit comments

Comments
 (0)