Skip to content

Commit 2acecac

Browse files
author
matheo
committed
add missing {
1 parent 385a5d6 commit 2acecac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwigComponent/src/Twig/TwigPreLexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function preLexComponents(string $input): string
5858
$this->currentComponents[] = ['name' => $componentName, 'hasDefaultBlock' => false];
5959
}
6060

61-
$output .= "{% component '$componentName'".($attributes ? " with { {$attributes} }" : '').' %}';
61+
$output .= "{% component '{$componentName}'".($attributes ? " with { {$attributes} }" : '').' %}';
6262
if ($isSelfClosing) {
6363
$output .= '{% endcomponent %}';
6464
}

0 commit comments

Comments
 (0)