Re: [SMARTY] suggestion: don't add any CRs in compiled template

From: Date: Tue, 23 Apr 2002 13:20:56 +0000
Subject: Re: [SMARTY] suggestion: don't add any CRs in compiled template
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3851@lists.php.net to get a copy of this message
The compiled template output should be exactly like the original in regards to newlines, except for one problem that I'm aware of. When a comment is on a line by itself, it creates a newline. So this: {* comment *} becomes an empty line when the page is compiled. Otherwise everything should be exact. This is on the list of things to fix. Is this what you mean? Thies C. Arntzen wrote:
    monte, andrei
    it would be rather cool if smarty would not add any
    "new-lines" to the compiled template. that way warnings and
    errors generated by PHP would be way eaysier to spot in the
    smarty template.
    am i missing something?
    tc
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.general (#3851) next »