diff options
Diffstat (limited to 'web-ui/app/js/mixins')
-rw-r--r-- | web-ui/app/js/mixins/with_mail_tagging.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/mixins/with_mail_tagging.js b/web-ui/app/js/mixins/with_mail_tagging.js index 0b1fe21e..6ea047ed 100644 --- a/web-ui/app/js/mixins/with_mail_tagging.js +++ b/web-ui/app/js/mixins/with_mail_tagging.js @@ -33,7 +33,7 @@ define( queryTokenizer: function(q) { return [q.trim()]; }, remote: { url: '/tags?q=%QUERY', - filter: function(pr) { return _.map(pr, function(pp) { return {value: pp.name}; }); } + filter: function(pr) { return _.map(pr, function(pp) { return {value: Handlebars.Utils.escapeExpression(pp.name)}; }); } } }); |