Newline mangled after braces
I've seen some oddities in expanded templates in builder and whilst working on my MR I have come to the conclusion newlines are being consumed where they perhaps shouldn't
For example, inline braces are expanded as expected:
<title>{{title}}</title>
-> <title>Newline mangled after braces</title>
But if the braces are at the end of the line \n seems to be consumed
<div>
{{content}}
</div>
to
<div>
Some content</div>
(placing any character, including space, after the } doesn't produce this behaviour)
Is this a bug or undocumented feature?
If it's intentional builders templates should be updated so they generate clean output.