We call MessageUtil.escape in the Narya i18n code but not here where it is
also needed. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1699 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -106,9 +106,9 @@ public class MessageManager
|
|||||||
Object[] args)
|
Object[] args)
|
||||||
{
|
{
|
||||||
String msg = getMessage(req, path, true);
|
String msg = getMessage(req, path, true);
|
||||||
// we may cache message formatters later, but for now just
|
// we may cache message formatters later, but for now just use the
|
||||||
// use the static convenience function
|
// static convenience function
|
||||||
return MessageFormat.format(msg, args);
|
return MessageFormat.format(MessageUtil.escape(msg), args);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user