test/html/keepspaces.htm
raw| 1 | 1 |
| 2 | 2 |
| 3 | 3 |
| 4 | [$if 1 $]4 |
| 5 | 5 |
| 6 | [$endif$] 6 |
| 7 | 7 [+ 7.1 +] 7.2 |
| 8 | 8 |
| 9 | [$sub foo $] |
| 10 | |
| 11 | foo2 [$if 0 $] foo2.1 [$endif$] foo2.2 |
| 12 | |
| 13 | [$endsub$] |
| 14 | |
| 15 | after sub foo |
| 16 | |
| 17 | call sub foo [- foo -] more text |
| 18 | |
| 19 | call sub foo 2 |
| 20 | |
| 21 | [- foo -] |
| 22 | |
| 23 | more text 2 |
| 24 | |
| 25 | |
| 26 | [$sub bar$]inbar[$endsub$] |
| 27 | |
| 28 | |
| 29 | call sub bar [- bar -] after call to bar |
| 30 | |
| 31 | call sub bar 2 |
| 32 | |
| 33 | [- bar -] |
| 34 | |
| 35 | after call to bar 2 |
| 36 | |
| 37 | [$foreach $i (1..5) $] |
| 38 | # new line [+ $i +] |
| 39 | [$endforeach$] |
| 40 | |
| 41 | |
| 42 |