Re: [SMARTY-DEV] Re: Intelligent JavaScript handling

From: Date: Fri, 19 Mar 2004 08:45:37 +0000
Subject: Re: [SMARTY-DEV] Re: Intelligent JavaScript handling
References: 1 2  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2225@lists.php.net to get a copy of this message
Justin Patrin writes: > If this is too much of a problem, your best bet it to change your Smarty > tags to be something else, say {{ }} which aren't likely to be in JS or > CSS. Changing the tag is extremely easy and wouldn't need any extra > preprocessing or filtering or another Smarty tag to look for. True, but this means changing large numbers of templates already using the default. It also means re-educating others who write templates for us, and makes it less easy to use Smarty code from elsewhere. It would be nice if we could change the template tag from within the template, but that would have a massive implication for the way they are parsed. -- Mark Rogers, More Solutions Ltd :: Tel: 0845 45 89 555

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