Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce tag for local control of whitespace output. Have a look at tests. See Github issue #4
- Loading branch information
Showing
6 changed files
with
57 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% template with-output-whitespace-test-1 (:output-whitespace nil) (data) %} | ||
{% loop for item in data do %} | ||
{{item.car}} {{item.cdr}} | ||
{% end %} | ||
{% end %} | ||
|
||
{% template with-output-whitespace-test-2 (:output-whitespace nil) (data) %} | ||
{% loop for item in data do %} | ||
{% with-output-whitespace T %}{{item.car}} {{item.cdr}} | ||
{% end %} | ||
{% end %} | ||
{% end %} | ||
|
||
{% template with-output-whitespace-test-3 (:output-whitespace nil) (data) %} | ||
{% loop for item in data do %} | ||
{% with-output-whitespace T %}{{item.car}} {{item.cdr}} | ||
{% end %} | ||
{% end %} | ||
{% loop for item in data do %} | ||
{{item.car}} {{item.cdr}} | ||
{% end %} | ||
{% end %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters