File tree Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Original file line number Diff line number Diff line change @@ -12,3 +12,20 @@ https://github.com/mustache/spec/pull/75
1212 <h1 >Hello world</h1 >
1313 </body >
1414 </html >
15+
16+
17+ We also test the indentation of parameter blocks.
18+
19+ $ mustache data. json test-indent-more. mustache
20+ <p >
21+ The test below should be indented in the same way as this line.
22+ This text is not indented in the source,
23+ it should be indented naturally in the output.
24+ </p >
25+
26+ $ mustache data. json test-indent-less. mustache
27+ <p >
28+ The test below should be indented in the same way as this line.
29+ This text is very indented in the source,
30+ it should be indented naturally in the output.
31+ </p >
Original file line number Diff line number Diff line change 1+ { {< test-indentation} }
2+ { {$indented -block } }
3+ This text is very indented in the source,
4+ it should be indented naturally in the output.
5+ { {/indented-block } }
6+ { {/test-indentation} }
Original file line number Diff line number Diff line change 1+ { {< test-indentation} }
2+ { {$indented -block } }
3+ This text is not indented in the source,
4+ it should be indented naturally in the output.
5+ { {/indented-block } }
6+ { {/test-indentation} }
Original file line number Diff line number Diff line change 1+ <p >
2+ The test below should be indented in the same way as this line.
3+ { {$indented -block } }{ {/indented-block } }
4+ </p >
You can’t perform that action at this time.
0 commit comments