Re: [SMARTY-DEV] smarty comment patch
| From: | Monte Ohrt | Date: | Thu, 17 Apr 2003 15:54:49 +0000 |
| Subject: | Re: [SMARTY-DEV] smarty comment patch | ||
| References: | 1 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1222@lists.php.net to get a copy of this message | ||
It seems my comment patch affects line numbering, working on it...
Monte
On Thu, 2003-04-17 at 10:45, Monte Ohrt wrote:
> I have submitted a patch that corrects the behavior of compiling smarty
> comments.
>
> Basically, comments on a line by themselves will no longer produce a
> blank line in the template output. So:
>
>
> foo
> {* smarty *}
> foo2 {* smarty *}
> {* smarty *}foo3
> {*
> smarty
> *}
> foo4
>
> will now produce the output:
>
> foo
> foo2
> foo3
> foo4
>
> Let me know if there are any problems with it.
>
> Monte
--
Monte Ohrt <monte@ispi.net>