Re: no newline after "?>" in the resulting HTML

From: Date: Sat, 18 Mar 2006 19:26:20 +0000
Subject: Re: no newline after "?>" in the resulting HTML
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-232192@lists.php.net to get a copy of this message
Adrian wrote:
Is there a way to circumvent this? My template engine compiles templates to PHP files and this "feature" makes the output html code look awful sometimes.
Nope. Put in an extra newline after ?> if you need them, or put a \n at the end of the last echo inside the PHP block. -Rasmus

« previous php.general (#232192) next »