Merge pull request #3707 from tgxworld/emoji_not_unescape_in_topic_link

FIX: Emoji not unescaped in topic link.
This commit is contained in:
Régis Hanol 2015-08-30 11:12:51 +02:00
commit 322df1862d
1 changed files with 2 additions and 1 deletions

View File

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