mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 20:22:46 +08:00
FIX: featured_topic.fancy_title was rendered without emojis (#9176)
This commit is contained in:
parent
61a2c3650d
commit
4a0f36e46c
|
@ -144,7 +144,7 @@
|
|||
<div class="card-row">
|
||||
<div class="featured-topic">
|
||||
<span class="desc">{{i18n 'user.featured_topic'}}</span>
|
||||
{{#link-to "topic" user.featured_topic.slug user.featured_topic.id }}{{html-safe user.featured_topic.fancy_title}}{{/link-to}}
|
||||
{{#link-to "topic" user.featured_topic.slug user.featured_topic.id }}{{html-safe (replace-emoji user.featured_topic.fancy_title)}}{{/link-to}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
<label class="control-label">{{i18n 'user.featured_topic'}}</label>
|
||||
{{#if model.featured_topic}}
|
||||
<label class="featured-topic-link">
|
||||
{{#link-to "topic" model.featured_topic.slug model.featured_topic.id}}{{html-safe model.featured_topic.fancy_title}}{{/link-to}}
|
||||
{{#link-to "topic" model.featured_topic.slug model.featured_topic.id}}{{html-safe (replace-emoji model.featured_topic.fancy_title)}}{{/link-to}}
|
||||
</label>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
{{#if showFeaturedTopic}}
|
||||
<h3 class="featured-topic">
|
||||
<span>{{i18n 'user.featured_topic'}}</span>
|
||||
{{#link-to "topic" model.featured_topic.slug model.featured_topic.id}}{{html-safe model.featured_topic.fancy_title}}{{/link-to}}
|
||||
{{#link-to "topic" model.featured_topic.slug model.featured_topic.id}}{{html-safe (replace-emoji model.featured_topic.fancy_title)}}{{/link-to}}
|
||||
</h3>
|
||||
{{/if}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user