Replace nbsp with a space when formatting messages (#2394) @ravkr

This commit is contained in:
Rafał Pokrywka 2019-01-27 13:15:03 +01:00 committed by md678685
parent 7325113a8c
commit fb779533e6

View File

@ -93,7 +93,7 @@ public class I18n implements net.ess3.api.II18n {
}
messageFormatCache.put(format, messageFormat);
}
return messageFormat.format(objects);
return messageFormat.format(objects).replace(' ', ' '); // replace nbsp with a space
}
public void updateLocale(final String loc) {