Re: Re: Intelligent JavaScript handling

"Mark Rogers" <[email protected]>
Newsgroups gmane.comp.php.smarty.devel
Organization Quarella Ltd
Message-ID <055301c40d8e$8d284440$1100000a@mark>
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

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.