[stringtemplate-interest] suppressing newlines and empty strings

David Ray ray at soartech.com
Tue Nov 8 09:04:29 PST 2005


Hello,

I have a couple StringTemplate questions:

1) Is there any way to do a line continuation (like \ in C) in a 
template? I've got a template whose output I'd like to have on a single 
line, but I'd like to break it up a bit to make the template code more 
readable.

2) I get an error when I try to pass an empty string literal to a 
template parameter:

    $foo(bar="")$

Is there a way to do this or am I missing something?

Thanks,
Dave



More information about the stringtemplate-interest mailing list