hello,

i am using tt to generate html pages, it adds a lot of whitespaces and newlines 
all over. Since HTML does not care about newlines or whitespaces. I want to 
remove all of them from finally generated page. so that size of the page is 
small and its loads fast.

i googled to find:

PRE_CHOMP, POST_CHOMP
Removes whitespace before/after directives (default: 0/0). 
TRIM
Remove leading and trailing whitespace from template output (default: 0). 


but i dont kno how to use them or if there is anything else I can do.

pl advice.

thank you.
Rajeev
_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to