[stringtemplate-interest] Rendering separator={} and null={}

Terence Parr parrt at cs.usfca.edu
Tue Sep 16 10:51:43 PDT 2008


On Sep 16, 2008, at 10:26 AM, Roman Odaisky wrote:

> Greetings,
>
> I have an renderer that performs HTML escaping. For some reason it  
> gets
> applied to content of null={...} and separator={...}.

ToWhat class do you attach the renderer?  If it's String, it will do  
it to everything.

> Also, is it possible to specify the format for null and separator  
> expressions?

Not unless you set up a renderer for String.

Ter


More information about the stringtemplate-interest mailing list