summaryrefslogtreecommitdiff
path: root/specs/sections.yml
diff options
context:
space:
mode:
Diffstat (limited to 'specs/sections.yml')
-rw-r--r--specs/sections.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/specs/sections.yml b/specs/sections.yml
index 7b24a38..8723000 100644
--- a/specs/sections.yml
+++ b/specs/sections.yml
@@ -180,6 +180,12 @@ tests:
|
| A Line
+ - name: Standalone Line Endings
+ desc: '"\r\n" should be considered a newline for standalone tags.'
+ data: { boolean: true }
+ template: "|\r\n{{#boolean}}\r\n{{/boolean}}\r\n|"
+ expected: "|\r\n|"
+
# Whitespace Insensitivity
- name: Padding