FIX: Use unescaped title as combo-box id (#7979)

FIX: Use unescaped title as combo-box id (#7979)

diff --git a/app/assets/javascripts/discourse/models/user.js.es6 b/app/assets/javascripts/discourse/models/user.js.es6
index 8d3ad41..d225e5c 100644
--- a/app/assets/javascripts/discourse/models/user.js.es6
+++ b/app/assets/javascripts/discourse/models/user.js.es6
@@ -759,7 +759,12 @@ const User = RestModel.extend({
 
     return _.uniq(titles)
       .sort()
-      .map(Ember.Handlebars.Utils.escapeExpression);
+      .map(title => {
+        return {
+          name: Ember.Handlebars.Utils.escapeExpression(title),
+          id: title
+        };
+      });
   },
 
   @computed("user_option.text_size_seq", "user_option.text_size")

GitHub sha: 44ad8ee3