We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c5a655 commit ecabc91Copy full SHA for ecabc91
1 file changed
specs/partials.yml
@@ -87,7 +87,27 @@ tests:
87
expected: ">\n >\n >"
88
89
- name: Standalone Indentation
90
- desc: Each new line of the partial should be indented before rendering.
+ desc: Each line of the partial should be indented before rendering.
91
+ data: { content: "<\n->" }
92
+ template: |
93
+ \
94
+ {{>partial}}
95
+ /
96
+ partials:
97
+ partial: |
98
+ |
99
+ {{{content}}}
100
101
+ expected: |
102
103
104
+ <
105
+ ->
106
107
108
+
109
+ - name: Standalone Indentation
110
+ desc: Indentation should only be applied after each newline in a partial.
111
data: { content: "<\n->" }
112
template: |
113
\
0 commit comments