Skip to content

A platform for community discussion. Free, open, simple.

FIX: Avoid double-encoding featured topic title in user card (#20739)

David Taylor597316125ff0
diff --git a/app/assets/javascripts/discourse/app/components/user-card-contents.hbs b/app/assets/javascripts/discourse/app/components/user-card-contents.hbs
index 3f16834ea70..159224f9537 100644
--- a/app/assets/javascripts/discourse/app/components/user-card-contents.hbs
+++ b/app/assets/javascripts/discourse/app/components/user-card-contents.hbs
@@ -241,8 +241,8 @@
this.user.featured_topic.slug
this.user.featured_topic.id
}}
- >{{html-safe
- (replace-emoji this.user.featured_topic.fancy_title)
+ >{{replace-emoji
+ (html-safe this.user.featured_topic.fancy_title)
}}</LinkTo>
</div>
</div>