mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: make sure we escape titles in user streams
This commit is contained in:
parent
edb794ee86
commit
8998a54ce6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue