mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix #2272 unintended conversion of v1 echo statements inside verbatim section of v2 template
This commit is contained in:
parent
a0af57139e
commit
ee9a1a2b20
2 changed files with 11 additions and 2 deletions
|
|
@ -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',
|
||||
'',
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue