I'm trying out FreeMarker, not for a web application but to generate text within a desktop application. I'd like to get the text without any linefeeds, however it always appends a linefeed. For example, this would produce "blah blah\n"
<#if docType=1>
blah blah
<#if docType=2>
more blah
<#/if>
Any ideas? Bunching it all into one line works, but is horrible. Thanks.