[stringtemplate-interest] Rendering separator={} and null={}
Roman Odaisky
roma at qwertty.com
Tue Sep 16 10:57:34 PDT 2008
Hi,
> > 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.
String indeed (or actually its Python counterpart). But what’s the reason
behind passing the strings already in the template through the renderer?
For “hello $user$”, the hello doesn’t get rendered, it’s assumed
pre-rendered, then why is the logic different for other literal strings?
--
WBR
Roman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2286 bytes
Desc: not available
Url : http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20080916/ec51c508/attachment.bin
More information about the stringtemplate-interest
mailing list