|
[SMARTY] Re. : [SMARTY] Avoid unnecessary whitespace in compiled templates?: msg#00416php.smarty.general
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@xxxxxxxxxxxxxxxxxxxx> le 29/01/2003 16:24:16 Pour : smarty-general@xxxxxxxxxxxxx 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 -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [SMARTY] Avoid unnecessary whitespace in compiled templates?: 00416, Lars Noschinski |
|---|---|
| Next by Date: | Re: [SMARTY] PHPDoc and Smarty: 00416, Monte Ohrt |
| Previous by Thread: | [SMARTY] Avoid unnecessary whitespace in compiled templates?i: 00416, Lars Noschinski |
| Next by Thread: | [SMARTY] Thanks for your help everyone: 00416, Hoffman, Geoffrey |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |