[PHPTAL] space chars and string:

2011-03-24 Thread Robert Goldsmith
Hi all, I'm trying to create a string ending in a space but the space seems to be trimmed: source: tal:define="space string: ;" compiled: $ctx->space = '' ; Any suggestions on how to get around this? I assume it is due to 'trimming' or similar. Thanks Robert

Re: [PHPTAL] space chars and string:

2011-03-24 Thread Marco Pivetta
I would try using this ugly solution: tal:define="space php:' ';" Marco Pivetta @Ocramius http://marco-pivetta.com 2011/3/24 Robert Goldsmith > Hi all, > > I'm trying to create a string ending in a space but the space seems to be > trimmed: > > source: > tal:defi