Closed milahu closed 1 year ago
template variable at end of line consumes newline
These fruits are amazing: {{@each(it.fruits) => fruit}} fruit = {{fruit}} fruit = {{fruit}} {{/each}}
These fruits are amazing: fruit = Applefruit = Apple fruit = Pearfruit = Pear fruit = Orangefruit = Orange fruit = Lemonfruit = Lemon
These fruits are amazing: fruit = Apple fruit = Apple fruit = Pear fruit = Pear fruit = Orange fruit = Orange fruit = Lemon fruit = Lemon
https://squirrelly.js.org/playground/
I had the same issue. Fixed by using autoTrim: false configuration
autoTrim: false
thanks : )
closing as fixed
template variable at end of line consumes newline
template
actual result
expected result
environment
https://squirrelly.js.org/playground/