9 Jul
2003
9 Jul
'03
2:58 a.m.
Is there an easy way to surpress all whitespace output from DTML? Essentially, I have a situation where DTML is used for a crutch to do some simple logical things, but where most of the interesting stuff happens in external methods. There are a few lines of DTML that actually produce useful output, but I am getting a TON of whitespace before my interesting output that I need to surpress.
I also trying to solve this problem and the only way i've found is avoid whitespace between dtml tags. Like this: <dtml-in xxx><dtml-if comecondition><dtml-var somevariable></dtml-if></dtml-in> Of course, this is ugly solution because it makes code almost unreadable :(