Add a failing test for #167
Multiple levels of nested partials are only indented to the level of the first partial.
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
class NestedPartials
|
||||||
|
{
|
||||||
|
public $val = 'FOURTH!';
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
<first>
|
||||||
|
{{> second }}
|
||||||
|
</first>
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<first>
|
||||||
|
<second>
|
||||||
|
<third>
|
||||||
|
FOURTH!
|
||||||
|
</third>
|
||||||
|
</second>
|
||||||
|
</first>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{{ val }}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
<second>
|
||||||
|
{{> third }}
|
||||||
|
</second>
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
<third>
|
||||||
|
{{> fourth }}
|
||||||
|
</third>
|
||||||
Reference in New Issue
Block a user