[Zope] Surpress white space?
Sergey Volobuev
zope@phpv.khv.ru
Wed, 09 Jul 2003 13:58:36 +1100
>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 :(