When working with templates, you may want to control the presence of end-of-line (CRLF) characters in your output. Typically, placing output tags on separate lines introduces line breaks. To remove the CRLF character at the end, use the FreeMarker tag <#rt> directly after your content:
Template:
#OUTPUT START #
ABC
#OUTPUT END #
Output :
With this adjustment, the output will not include an automatic line break after “ABC,” resulting in cleaner, more controlled file formatting especially when generating structured files.
If you do not want to include a CRLF character to denote the end of a line in the output, place the #OUTPUT END# tag right after the last character in the template. Using the <#rt> FreeMarker tag:
Template:
#OUTPUT START #
ABC < #rt >
#OUTPUT END #
Output:

