FIX: Emoji not unescaped in topic link.

This commit is contained in:
Guo Xiang Tan 2015-08-30 13:29:19 +08:00
parent 6fc2300279
commit 430fc1421a

View file

@ -45,7 +45,8 @@ export default Em.Component.extend(StringBuffer, {
var title = Em.get(l, 'title'); var title = Em.get(l, 'title');
if (!Em.isEmpty(title)) { if (!Em.isEmpty(title)) {
buffer.push(Handlebars.Utils.escapeExpression(title)); title = Handlebars.Utils.escapeExpression(title);
buffer.push(Discourse.Emoji.unescape(title));
} }
if (clicks) { if (clicks) {
buffer.push("<span class='badge badge-notification clicks'>" + clicks + "</span>"); buffer.push("<span class='badge badge-notification clicks'>" + clicks + "</span>");