FIX: make sure we escape titles in user streams

This commit is contained in:
Régis Hanol 2015-07-27 12:50:50 +02:00
parent edb794ee86
commit 8998a54ce6
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ export default RestModel.extend({
if (result && result.user_actions) {
const copy = Em.A();
result.user_actions.forEach(function(action) {
action.title = Discourse.Emoji.unescape(action.title);
action.title = Discourse.Emoji.unescape(Handlebars.Utils.escapeExpression(action.title));
copy.pushObject(Discourse.UserAction.create(action));
});