Added double section, escaped output, utf8 escaped and utf8 unescaped examples.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
class DoubleSection extends Mustache {
|
||||
public function t() {
|
||||
return true;
|
||||
}
|
||||
|
||||
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