Explorar el Código

Never indent block arg sections.

Fixes #253
Justin Hileman hace 10 años
padre
commit
7cb9fdff6a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Mustache/Compiler.php

+ 1 - 1
src/Mustache/Compiler.php

@@ -263,7 +263,7 @@ class Mustache_Compiler
 
     const BLOCK_ARG = '
         // %s block_arg
-        $value = $this->section%s($context, $indent, true);
+        $value = $this->section%s($context, \'\', true);
         $newContext[%s] = %s$value;
     ';