Re: [SMARTY-DEV] bug in variable parser

From: Date: Sun, 31 Aug 2003 23:20:45 +0000
Subject: Re: [SMARTY-DEV] bug in variable parser
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1831@lists.php.net to get a copy of this message
--- Simon Benjamin <info@smarty.hu> wrote: > template: > <{ assign var="pic" > value='background="$CONTENT_URL/spacer.gif"' > }> > <{ $pic }> Wow, all those embedded quotes hurt my brain. This works: <{ assign var="pic" value='background="'|cat:"$CONTENT_URL/spacer.gif"|cat:'"' }> Basically, the backticks only work when embedded in double quotes. In your sample, they are actually embedded in single quotes, if you look close enough :) xo boots __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

« previous php.smarty.dev (#1831) next »