logo       

[SMARTY] Re. : [SMARTY] Avoid unnecessary whitespace in compiled templates?: msg#00416

php.smarty.general

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


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>
Google Custom Search

News | FAQ | advertise