Updated section short-circuit logic to actually run when only inverted sections exist.

This commit is contained in:
Justin Hileman
2010-04-26 23:19:20 -04:00
parent 9b8454f2ba
commit 69a514916c
4 changed files with 17 additions and 1 deletions
@@ -0,0 +1,6 @@
<?php
class InvertedDoubleSection extends Mustache {
public $t = false;
public $two = 'second';
}
@@ -0,0 +1,7 @@
{{^t}}
* first
{{/t}}
* {{two}}
{{^t}}
* third
{{/t}}
@@ -0,0 +1,3 @@
* first
* second
* third