Re: Extended escape modifier
| From: | Monte Ohrt | Date: | Fri, 29 Jun 2001 14:20:22 +0000 |
| Subject: | Re: Extended escape modifier | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1094@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
>
> On Fri, 29 Jun 2001, Monte Ohrt wrote:
> > you could, it's just not as friendly syntax for designers and it won't
> > work with security enabled unless you allow addslashes specifically.
>
> Not a friendly syntax?? I think having another escape type specifically
> for Javascript ('js') is more complicated -- it doesn't tell you exactly
> what it's doing and, besides, escaping ' and " is useful for more than
> just Javascript.
So should we veto the additions to escape then? keep some, not others?
how about the newline to <BR>? Should that be in there?