FIX: render emoji in topic title

This commit is contained in:
Arpit Jalan
2017-04-12 00:41:23 +05:30
committed by Sam
parent 5cb64810cd
commit 30a8c5cca2
2 changed files with 12 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ const TopicRoute = Discourse.Route.extend({
titleToken() {
const model = this.modelFor('topic');
if (model) {
const result = model.get('title'),
const result = model.get('unicode_title') ? model.get('unicode_title') : model.get('title'),
cat = model.get('category');
// Only display uncategorized in the title tag if it was renamed