fix @Template twig print

This commit is contained in:
TomasVotruba 2020-06-06 11:30:34 +02:00
parent 070d6d87ab
commit a7769f59a9

View File

@ -33,8 +33,8 @@ trait PrintTagValueNodeTrait
continue;
}
// do not quote constant references
if (Strings::match($item, '#\w+::\w+#')) {
// do not quote constant references... unless twig template
if (Strings::match($item, '#\w+::\w+#') && ! Strings::endsWith($item, '.twig')) {
continue;
}