Added another test for #345 - marko-preserve-whitespace attr

This commit is contained in:
Patrick Steele-Idem 2016-08-03 12:19:57 -06:00
parent 7ff286d5d5
commit 7c7063d5cd
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<div>
This
whitespace
should be
preserved
<div>
This
whitespace
should also be
preserved
</div>
</div>

View File

@ -0,0 +1,12 @@
<div marko-preserve-whitespace>
This
whitespace
should be
preserved
<div>
This
whitespace
should also be
preserved
</div>
</div>

View File

@ -0,0 +1,3 @@
exports.templateData = {
"name": "World"
};