[stringtemplate-interest] <pre> tags and recursive structures
Johan Stuyts
j.stuyts at javathinker.com
Tue Jul 31 05:15:11 PDT 2007
Hi,
I am trying to generate a <pre> tag which is filled from a recursive
structure. This is the result I am looking for:
<html>
<body>
<pre>
abc
def
ghi
jkl
mno
</pre>
</body>
</html>
If I use the AutoIndentWriter the result is:
...
<pre>
abc
def
ghi
jkl
mno
</pre>
...
If I use the NoIndentWriter the result is:
...
<pre>
abc
def
ghi
jkl
mno
</pre>
...
What is the best way to generate the first output? Thanks in advance.
Kind regards,
Johan Stuyts
More information about the stringtemplate-interest
mailing list