Re: [SMARTY] Avoid unnecessary whitespace in compiled templates?

From: Date: Mon, 03 Feb 2003 17:47:19 +0000
Subject: Re: [SMARTY] Avoid unnecessary whitespace in compiled templates?
References: 1 2 3 4 5  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7480@lists.php.net to get a copy of this message
sweatjejm@mchsi.com (Jason Sweat) writes: > This probably does not have to do with Smarty directly. Probably one of > your include files has one or more carriage returns before or after the php > tags. Look for > <?php > //the include code > ?>\n > \n > \n I think I checked this, but I will repeat it, as soon as my ftp server works again. But shouldn't this be covered by output-buffering? > That kind of thing will typically generate errors similar to what you are > experiencing. I know. This is one reason, why I don't like the 'embedded-in-html' property of PHP.

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