@@ -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}}
+ * third
@@ -0,0 +1,3 @@
+* first
+* second
+* third
@@ -0,0 +1,5 @@
+class Escaped extends Mustache {
+ public $title = "Bear > Shark";
@@ -0,0 +1 @@
+<h1>{{title}}</h1>
+<h1>Bear > Shark</h1>
+class UTF8Unescaped extends Mustache {
+ public $test = '中文又来啦';
+<h1>中文 {{test}}</h1>
+<h1>中文 中文又来啦</h1>
+class UTF8 extends Mustache {
+<h1>中文 {{{test}}}</h1>