I would try using this ugly solution:

tal:define="space php:' ';"
Marco Pivetta
@Ocramius <http://twitter.com/Ocramius>
http://marco-pivetta.com



2011/3/24 Robert Goldsmith <rgoldsm...@names.co.uk>

> 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
> _______________________________________________
> PHPTAL mailing list
> PHPTAL@lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to