In my templates for readability I layout things like:
<TMPL_IF whatever>
Print something here
</TMPL_IF>
Which in the resulting html gives:
<<HTML;
Print something here
HTML
Is there a way to trim the extra whitespace\newlines from the final output?
I didn't notice anything in the docs so I thought I'd ask here.
Drew
--
Drew Taylor | Web development & consulting
http://www.drewtaylor.com/ | perl/mod_perl/DBI/mysql/postgres
----------------------------------------------------------------------
Netflix: DVD Rentals by mail with NO late fees or due dates!
Free Trial - http://www.netflix.com/Default?mqso=36126240
----------------------------------------------------------------------
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users
- [htmltmpl] Does HT:Expr evaluate each loop iteration? Andrew Brosnan
- Re: [htmltmpl] Does HT:Expr evaluate each loop iterati... Sam Tregar
- RE: [htmltmpl] Does HT:Expr evaluate each loop ite... Chris Davies
- RE: [htmltmpl] Does HT:Expr evaluate each loop... Drew Taylor
- RE: [htmltmpl] Does HT:Expr evaluate each ... Chris Davies
- Re: [htmltmpl] Trimming whitespace Drew Taylor
- Re: [htmltmpl] Trimming whitespace Sam Tregar
- RE: [htmltmpl] Trimming whitespac... Chris Davies
- RE: [htmltmpl] Trimming white... Drew Taylor
- RE: [htmltmpl] Trimming white... Cory Trese
