Tomas, This would be great. Can you create a JIRA issue for this so we don't lose track of it?
https://issues.apache.org/jira/browse/VELOCITY thanks, nathan On Wed, Dec 3, 2008 at 1:21 PM, Tomas Styblo <[EMAIL PROTECTED]> wrote: > > Hello, > the patch that is attached makes it possible to use logical negation > in the eventhandler.escape.html.match pattern by prepending an > exclamation mark, for example: > > ve.setProperty("eventhandler.escape.html.match", "!/__nhe$/"); > > I was missing this feature because it's safer to always html-escape > everything, except for a few specific variables, which can now > conveniently be marked by including a special pattern in their > name. > > The patch adds only a few lines to app/event/EscapeReference.java. > > -- > Tomas Styblo <[EMAIL PROTECTED]> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
