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:
Justin Hileman
2013-09-26 09:48:29 -07:00
parent cb2a6b5a03
commit 44b60e1bb8
6 changed files with 23 additions and 0 deletions
@@ -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>