Closed
Description
Lexer tries to consume code even when it is commented out.
part of trace:
Twig\Error\SyntaxError:
Expected attribute name when parsing the "<twig:Icon" syntax.
at templates/Admin/base.html.twig:35
at Symfony\UX\TwigComponent\Twig\TwigPreLexer->consumeComponentName('Expected attribute name when parsing the "<twig:Icon" syntax.')
(vendor/symfony/ux-twig-component/src/Twig/TwigPreLexer.php:158)
at Symfony\UX\TwigComponent\Twig\TwigPreLexer->consumeAttributeName('Icon')
(vendor/symfony/ux-twig-component/src/Twig/TwigPreLexer.php:179)
at Symfony\UX\TwigComponent\Twig\TwigPreLexer->consumeAttributes('Icon')
(vendor/symfony/ux-twig-component/src/Twig/TwigPreLexer.php:68)
at Symfony\UX\TwigComponent\Twig\TwigPreLexer->preLexComponents('...
Metadata
Metadata
Assignees
Labels
No labels