Hi,
I just thought of a new directive that might be
very useful in TemplateServer #for loops:
#slurp --- for slurping up the whitespace that follows it,
upto and including the first \n
eg
======================================
#set $tab = ['Home','Download','Contribute']
#set separator = ''
#for $tab in $tabs
$separator$tab #slurp
#set separator = '| '
#end for
======================================
output with #slurp:
Home | Download | Contribute
output without #slurp:
Home |
Download |
Contribute
Other possible names:
#gobble
#suck
#ws
What do you think?
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel