Re: Question about preserving whitespace...

2002-09-10 Thread Charlie Hills
> > I also do not understand why your whitespace is being removed, but > > perhaps the above will help (sorry - untested). > > > > Only optKeepSpaces helps > > Gerald And, as promised, it did help. Danke! Charlie Hills CreditMinders Development Team 512.263.7003 x223 -

Re: Question about preserving whitespace...

2002-09-10 Thread Gerald Richter
> > I even tried tossing in a [- print "\n" -] statement, to no avail! > > did you try to print to the 'OUT' filehandle? > [- print OUT "\n" -] > print to OUT does excatly the same as [+ +] > I also do not understand why your whitespace is being removed, but > perhaps the above will help (sor

Re: Question about preserving whitespace...

2002-09-10 Thread Cameron McBride
> I even tried tossing in a [- print "\n" -] statement, to no avail! did you try to print to the 'OUT' filehandle? [- print OUT "\n" -] I also do not understand why your whitespace is being removed, but perhaps the above will help (sorry - untested). Cameron --

Re: Question about preserving whitespace...

2002-09-10 Thread Gerald Richter
> We're using embperl to generate dynamic email messages, but I'm having trouble > getting whitespace preserved between conditional statements. e.g.: > Pass optKeepSpaces in options e.g. Execute ({inputfile => xxx, options => HTML::Embperl::optKeepSpaces}) or set it in EMBPERL_OPTIONS. Embperl

Re: Question about preserving whitespace...

2002-09-10 Thread Charlie Hills
> Regarding whitespace it's always a good idea to review the 'Inside > Embperl' part of the documentation, summarized for 1.3.4 at: > > http://perl.apache.org/embperl/pod/doc/doc13/HTML/Embperl.-page-12-.htm > > but I don't know why it wouldn't leave that space inbetween tags alone > either.. Aye

Re: Question about preserving whitespace...

2002-09-10 Thread Nate Smith
On Tue, Sep 10, 2002 at 10:39:46AM -0500, Charlie Hills wrote: > Except it's not generating HTML, but the text for a plain text email. So the Ah, I had missed the email part. If that's the case I guess we need some more context to understand why it's not leaving that space in. Are you using HTM

Re: Question about preserving whitespace...

2002-09-10 Thread Charlie Hills
> Realize that that is only making a hard break in the html document that > then gets parsed by the browser.. HTML doesn't recognize whitespace in > the document itself without a (preformatted) tag. So you could do > one of two things: > > [$ if (blah) $] text1 > [$ endif $] > > [$ if (blah

Re: Question about preserving whitespace...

2002-09-10 Thread Nate Smith
On Tue, Sep 10, 2002 at 10:19:51AM -0500, Charlie Hills wrote: > [$ if (this) $] * some text > [$ endif $] > > [$ if (that) $] * some other text > [$ endif $] > I even tried tossing in a [- print "\n" -] statement, to no avail! Realize that that is only making a hard break in the html document

Question about preserving whitespace...

2002-09-10 Thread Charlie Hills
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 t