[PHPTAL] Re: PHP newline consumption

Kornel Lesiński kornel at aardvarkmedia.co.uk
Thu Dec 10 19:03:11 CET 2009


On 10-12-2009 at 17:19:50 Richard Cernava <cernava at gmail.com> wrote:

> I much agree, I don't like it either.
>
> <html>
> <body >
> 	${variable1 | string:Line 1}
> 	<tal:block tal:content="variable2 | string:Line 2"></tal:block>
> 	Line 3
> </body>
> </html>
>
> Renders:
>
> 	Line 1	Line 2
> 	Line 3
>
> TAL block seems to add another line break after Line 2, but variable  
> does not.

Ok, this is fixed in SVN.

-- 
regards, Kornel



More information about the PHPTAL mailing list