Re: newlines in files
| From: | Andrei Zmievski | Date: | Thu, 25 Oct 2001 19:10:00 +0000 |
| Subject: | Re: newlines in files | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1725@lists.php.net to get a copy of this message | ||
On Thu, 25 Oct 2001, Monte Ohrt wrote:
> I found the problem and fixed it for the next release. Now if there is a
> "\n" at the end of a compiled template, it will be removed. It will only
> remove one, so if you actally put a "\n" in on purpose, it will show up.
I don't think it was really a problem in Smarty. It wasn't doing
anything wrong, but this workaround helps to account for the newlines
that editors put in.
-Andrei
"Tomorrow the sun will rise. And who knows what the tide will bring?"
- Tom Hanks, in "Cast Away"