Omitting template markup characters
Kjeld <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am trying to output a simple text file using Freemarker. I noticed that
the markup of the template file is copied to the output file: carriage
returns, linefeeds, indentations, blank spaces, all that are 'outside' the
markup tags are copied into the output stream as well, next to the text I am
actually trying to produce.
Is it possible to configure Freemarker in such a way that all markup
characters in the template file will be omitted and only the characters that
are inside the tags are copied to the output file?
E.g. I want the following template
<#list 1..5 as i>
${'a'}
</#list>
...to return: aaaaa instead of
a
a
a
a
a
Thanks,
Kjeld
--
View this message in context: http://freemarker.624813.n4.nabble.com/Omitting-template-markup-characters-tp2065383p2065383.html
Sent from the freemarker-user mailing list archive at Nabble.com.
------------------------------------------------------------------------------