mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -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');
|
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>");
|
||||||
|
|
Loading…
Reference in a new issue