<?php

class RecursivePartials extends Mustache {
	protected $_partials = array(
		'child' => "* {{ name }}",
	);

	public $name  = 'George';
	public $child = array(
		'name' => 'Dan',
		'child' => array(
			'name' => 'Justin',
		)
	);
}
<?php

class RecursivePartials extends Mustache {
	protected $_partials = array(
		'child' => "* {{ name }}\n{{#child}}{{>child}}\n{{/child}}",
	);

	public $name  = 'George';
	public $child = array(
		'name'  => 'Dan',
		'child' => array(
			'name'  => 'Justin',
			'child' => false,
		)
	);
}
Fix for infinite recursion in recursive partials example.
Fix for infinite recursion in recursive partials example.
