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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux