Updated section short-circuit logic to actually run when only inverted sections exist.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user