initial commit; version 22.5.12042
This commit is contained in:
12
tests/templates/delimiters/Delimiters.php
Normal file
12
tests/templates/delimiters/Delimiters.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
$arr = array('start' => "It worked the first time.",
|
||||
|
||||
'middle' => array(
|
||||
array('item' => "And it worked the second time."),
|
||||
array('item' => "As well as the third."),
|
||||
),
|
||||
|
||||
'final' => "Then, surprisingly, it worked the final time.");
|
||||
|
||||
echo json_encode($arr);
|
1
tests/templates/delimiters/delimiters.json.failed
Normal file
1
tests/templates/delimiters/delimiters.json.failed
Normal file
@ -0,0 +1 @@
|
||||
{"start":"It worked the first time.","middle":[{"item":"And it worked the second time."},{"item":"As well as the third."}],"final":"Then, surprisingly, it worked the final time."}
|
8
tests/templates/delimiters/delimiters.mustache
Normal file
8
tests/templates/delimiters/delimiters.mustache
Normal file
@ -0,0 +1,8 @@
|
||||
{{=<% %>=}}
|
||||
* <% start %>
|
||||
<%=| |=%>
|
||||
|# middle |
|
||||
* | item |
|
||||
|/ middle |
|
||||
|={{ }}=|
|
||||
* {{ final }}
|
4
tests/templates/delimiters/delimiters.txt
Normal file
4
tests/templates/delimiters/delimiters.txt
Normal file
@ -0,0 +1,4 @@
|
||||
* It worked the first time.
|
||||
* And it worked the second time.
|
||||
* As well as the third.
|
||||
* Then, surprisingly, it worked the final time.
|
Reference in New Issue
Block a user