Fix #2272 unintended conversion of v1 echo statements inside verbatim section of v2 template

This commit is contained in:
Kijin Sung 2024-01-16 21:43:38 +09:00
parent a0af57139e
commit ee9a1a2b20
2 changed files with 11 additions and 2 deletions

View file

@ -1015,6 +1015,7 @@ class TemplateParserV2Test extends \Codeception\Test\Unit
'@verbatim',
'@if (true)',
'<p>{{ $foobar }}</p>',
'<p>{$foobar}</p>',
'@endif',
'@endverbatim',
]);
@ -1022,6 +1023,7 @@ class TemplateParserV2Test extends \Codeception\Test\Unit
'',
'@if (true)',
'<p>{{ $foobar }}</p>',
'<p>{$foobar}</p>',
'@endif',
'',
]);