squirrelly
squirrelly copied to clipboard
template variable at end of line consumes newline
template variable at end of line consumes newline
template
These fruits are amazing:
{{@each(it.fruits) => fruit}}
fruit = {{fruit}}
fruit = {{fruit}}
{{/each}}
actual result
These fruits are amazing:
fruit = Applefruit = Apple
fruit = Pearfruit = Pear
fruit = Orangefruit = Orange
fruit = Lemonfruit = Lemon
expected result
These fruits are amazing:
fruit = Apple
fruit = Apple
fruit = Pear
fruit = Pear
fruit = Orange
fruit = Orange
fruit = Lemon
fruit = Lemon
environment
https://squirrelly.js.org/playground/