ya, that is what I would like to see. Thanks Will for pointing that out. Cheers,
Jian On Wed, 26 Jan 2005 09:55:32 +0900, Shinobu Kawai Yoshida <[EMAIL PROTECTED]> wrote: > Hi jian, > > > The escape tool does the job fine. However, it would be convenient > > that velocity future release could have a global configuration setting > > that escapes html by default whenever it outputs a variable value. > > Otherwise, you end up having to put $esc... everywhere. > > > > Does this thought make sense? > > Since Velocity is a generic template engine, I don't see why we should > give it a feature to escape "html only". But, a set of ready-to-use > ReferenceInsertionEventHandlers in VelocityTools sounds nice to me. > :) > eg. HtmlEscapeReferenceInsertionEventHandler, etc. > > ## See Will's post about ReferenceInsertionEventHandlers. > > Best regards, > -- Shinobu > > -- > Shinobu "Kawai" Yoshida <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]