mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:37:55 +08:00
FIX: Emoji not unescaped in topic link.
This commit is contained in:
parent
6fc2300279
commit
430fc1421a
|
@ -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
Block a user