From e388a3ca7fce5ecf29395a5e7d73cd50df2662cf Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Thu, 26 Sep 2013 09:48:56 -0700 Subject: [PATCH] Fix for nested partials indenting. Fixes #167 --- src/Mustache/Compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mustache/Compiler.php b/src/Mustache/Compiler.php index d003609..d3d6940 100644 --- a/src/Mustache/Compiler.php +++ b/src/Mustache/Compiler.php @@ -262,7 +262,7 @@ class Mustache_Compiler const PARTIAL = ' if ($partial = $this->mustache->loadPartial(%s)) { - $buffer .= $partial->renderInternal($context, %s); + $buffer .= $partial->renderInternal($context, $indent . %s); } ';