We're using embperl to generate dynamic email messages, but I'm having trouble
getting whitespace preserved between conditional statements. e.g.:

[$ if (this) $] * some text
[$ endif $]

[$ if (that) $] * some other text
[$ endif $]

produces:

 * some text
 * some other text

and not:

 * some text

 * some other text

as I might expect. If I separate the two if statements with more whitespace,
same result. The only time I can get it to preserve whitespace is to throw
something else in there. e.g., if I put a "." in there somewhere between the
statements, then it keeps the whitespace intact.

I even tried tossing in a [- print "\n" -] statement, to no avail!

Any thoughts? Should I just forget it and move on?

Charlie Hills
CreditMinders Development Team
512.263.7003 x223




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to