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

From: Date: Mon, 03 Feb 2003 18:24:22 +0000
Subject: Re: [SMARTY] Avoid unnecessary whitespace in compiled templates?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7483@lists.php.net to get a copy of this message
> But shouldn't this be covered by output-buffering? It would, except I think your output buffering was in the wrong place. e.g. <?php include 'file_with_trailing_space.php'; ... ob_start(); $t->display(); ... instead of <?php ob_start(); include 'file_with_trailing_space.php'; ... $t->display();... I think you can configure PHP to enable output buffering by default in the PHP.ini file. HTH Jason

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