scriban / scriban

A fast, powerful, safe and lightweight scripting language and engine for .NET

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why does this despite using greedy mode keep adding newlines after the colon?

jons-bakerhill opened this issue · comments

Why does this despite using greedy mode keep adding newlines after the colon?

{{- property.Name + ":" -}} {{- GetPropertyType(property) -}};
results in

PROPERTYNAME:
IPROPERTYTYPE[];

{{- property.Name + ":" + GetPropertyType(property) -}};
Does not add a new line

Closing as I can't replicate this.