mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: featured_topic.fancy_title was rendered without emojis (#9176)
This commit is contained in:
parent
61a2c3650d
commit
4a0f36e46c
3 changed files with 3 additions and 3 deletions
|
@ -144,7 +144,7 @@
|
||||||
<div class="card-row">
|
<div class="card-row">
|
||||||
<div class="featured-topic">
|
<div class="featured-topic">
|
||||||
<span class="desc">{{i18n 'user.featured_topic'}}</span>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
<label class="control-label">{{i18n 'user.featured_topic'}}</label>
|
<label class="control-label">{{i18n 'user.featured_topic'}}</label>
|
||||||
{{#if model.featured_topic}}
|
{{#if model.featured_topic}}
|
||||||
<label class="featured-topic-link">
|
<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>
|
</label>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
{{#if showFeaturedTopic}}
|
{{#if showFeaturedTopic}}
|
||||||
<h3 class="featured-topic">
|
<h3 class="featured-topic">
|
||||||
<span>{{i18n 'user.featured_topic'}}</span>
|
<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>
|
</h3>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue