Merge pull request #3707 from tgxworld/emoji_not_unescape_in_topic_link
FIX: Emoji not unescaped in topic link.
This commit is contained in:
commit
322df1862d
|
@ -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>");
|
||||
|
|
Loading…
Reference in New Issue