Skip to content

Instantly share code, notes, and snippets.

@dtb
Created February 3, 2014 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dtb/8793867 to your computer and use it in GitHub Desktop.
Save dtb/8793867 to your computer and use it in GitHub Desktop.
diff --git a/src/Mustache/Parser.php b/src/Mustache/Parser.php
index 7680831..a333d1e 100644
--- a/src/Mustache/Parser.php
+++ b/src/Mustache/Parser.php
@@ -64,7 +64,7 @@ class Mustache_Parser
break;
case Mustache_Tokenizer::T_BLOCK:
- if (isset($this->pragmas[Mustache_Engine::PRAGMA_BLOCKS])) {
+ if (true || isset($this->pragmas[Mustache_Engine::PRAGMA_BLOCKS])) {
$this->clearStandaloneLines($nodes, $tokens);
$nodes[] = $this->buildTree($tokens, $token);
} else {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment