FIX: make sure we escape titles in user streams
This commit is contained in:
parent
edb794ee86
commit
8998a54ce6
|
@ -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));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue