Re: [SMARTY-DEV] literal bug
| From: | Monte Ohrt | Date: | Fri, 23 May 2003 19:22:49 +0000 |
| Subject: | Re: [SMARTY-DEV] literal bug | ||
| References: | 1 2 3 4 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1510@lists.php.net to get a copy of this message | ||
Ah well if it is supported and only literal doesn't work then it should
get fixed. Will do.
Monte
On Fri, 2003-05-23 at 13:57, Paul Lockaby wrote:
> Monte Ohrt wrote:
> > What purpose is there putting spaces between the left delim and the
> > func/var name? It has never been supported, I don't see a need for it.
> > If anything, it might cause problems later letting this looser syntax
> > work.
> >
> > Monte
> >
>
> When I use Smarty template, I change the delimiters to <% and %>. Then I
> put a space between them and the variable or function or whatever for
> readability. So variables look like <% $variable %> and functions look
> like <% function attr="value" %>. At present, the regular expressions
> for other functions and variables allow for the space, so basically
> every function *but* "literal" allow for that space. How is that for
> consistency. Well, I suppose it's your perogative to not put it in, but
> it came as a shock to me when I found that that was it worked.
>
> Paul
--
Monte Ohrt <monte@ispi.net>