From 1c945926bd26eb6cad1e655d7c2d35c8c919890b Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sun, 21 Jul 2013 00:49:10 -0700 Subject: [PATCH] Fix indents in lambda sections inside indented partials. Fixes #128 --- 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 437ea2c..a30e6f5 100644 --- a/src/Mustache/Compiler.php +++ b/src/Mustache/Compiler.php @@ -189,7 +189,7 @@ class Mustache_Compiler $source = %s; $buffer .= $this->mustache ->loadLambda((string) call_user_func($value, $source, $this->lambdaHelper)%s) - ->renderInternal($context, $indent); + ->renderInternal($context); } elseif (!empty($value)) { $values = $this->isIterable($value) ? $value : array($value); foreach ($values as $value) {