mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
FIX: Emoji not unescaped in topic link.
This commit is contained in:
parent
6fc2300279
commit
430fc1421a
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue