We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 385a5d6 commit 2acecacCopy full SHA for 2acecac
src/TwigComponent/src/Twig/TwigPreLexer.php
@@ -58,7 +58,7 @@ public function preLexComponents(string $input): string
58
$this->currentComponents[] = ['name' => $componentName, 'hasDefaultBlock' => false];
59
}
60
61
- $output .= "{% component '$componentName'".($attributes ? " with { {$attributes} }" : '').' %}';
+ $output .= "{% component '{$componentName}'".($attributes ? " with { {$attributes} }" : '').' %}';
62
if ($isSelfClosing) {
63
$output .= '{% endcomponent %}';
64
0 commit comments