Re. : [SMARTY] Avoid unnecessary whitespace in compiled templates?
| From: | philippe dot morange at ca-indosuez dot com | Date: | Wed, 29 Jan 2003 15:38:39 +0000 |
| Subject: | Re. : [SMARTY] Avoid unnecessary whitespace in compiled templates? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7392@lists.php.net to get a copy of this message | ||
You can use the {strip} tag to get rid of all spaces and return carriages...
See the doc for more info...
Best regards,
Philippe.
Lars Noschinski <lars@usenet.noschinski.de> le 29/01/2003 16:24:16
Pour : smarty-general@lists.php.net
cc : (ccc : Philippe MORANGE/EST/DOSI/BANQUE_INDOSUEZ/FR)
Objet : [SMARTY] Avoid unnecessary whitespace in compiled templates?
Hello!
I've some templates which call a plugins which does a
header()-call. But the compiled template contains whitespace which
prevents sending the header. How can I avoid this?
(I should add that it works on my local box, i think due to the APC,
as even an explicit 'echo' before an header() does not prevent the
headers to be send.)
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php