diff options
Diffstat (limited to 'specs/partials.yml')
-rw-r--r-- | specs/partials.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/specs/partials.yml b/specs/partials.yml index 25750f6..e460fbb 100644 --- a/specs/partials.yml +++ b/specs/partials.yml @@ -50,6 +50,13 @@ tests: partials: { partial: ">\n>" } expected: " | >\n>\n" + - name: Standalone Line Endings + desc: '"\r\n" should be considered a newline for standalone tags.' + data: { } + template: "|\r\n{{>partial}}\r\n|" + partials: { partial: ">" } + expected: "|\r\n>|" + - name: Standalone Indentation desc: Each line of the partial should be indented before rendering. data: { content: "<\n->" } |