A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
BSD 2-Clause "Simplified" License
8.48k
stars
635
forks
source link
Different behavior for `trimBlocks` of ConfigureOptions and `trim` of filters #1374
Open
0xTadash1 opened 2 years ago
I noticed this when I used it with Whitespace Control.
Using
trim
of filters works as expected.However, in the case of ConfigureOptions:
Line breaks are lost.
To get the same result using
trimBlocks
:This is ugly...
I'm going to use
trimBlocks
since I usetrim
frequently. So I'd be very happy iftrimBlocks
didn't require+ "\n"
:)