diff --git a/examples/recursive_partials/RecursivePartials.php b/examples/recursive_partials/RecursivePartials.php index d1b820f..5d239c1 100644 --- a/examples/recursive_partials/RecursivePartials.php +++ b/examples/recursive_partials/RecursivePartials.php @@ -2,14 +2,15 @@ class RecursivePartials extends Mustache { protected $_partials = array( - 'child' => "* {{ name }}", + 'child' => "* {{ name }}\n{{#child}}{{>child}}\n{{/child}}", ); public $name = 'George'; public $child = array( - 'name' => 'Dan', + 'name' => 'Dan', 'child' => array( - 'name' => 'Justin', + 'name' => 'Justin', + 'child' => false, ) ); } \ No newline at end of file