smarty comment patch
| From: | Monte Ohrt | Date: | Thu, 17 Apr 2003 15:45:53 +0000 |
| Subject: | smarty comment patch | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1221@lists.php.net to get a copy of this message | ||
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