Skip to content

Commit 162f3d2

Browse files
Add test for multi-byte chars in blade (#46206)
1 parent cf021e5 commit 162f3d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/View/Blade/BladeEscapedTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ public function testNestedEscapes()
2222
$template = '
2323
@foreach($cols as $col)
2424
@@foreach($issues as $issue_45915)
25+
👋 سلام 👋
2526
@@endforeach
2627
@endforeach';
2728
$compiled = '
2829
<?php $__currentLoopData = $cols; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $col): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
2930
@foreach($issues as $issue_45915)
31+
👋 سلام 👋
3032
@endforeach
3133
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>';
3234
$this->assertSame($compiled, $this->compiler->compileString($template));

0 commit comments

Comments
 (0)