# Chat UI: Emojis render as shortcodes in thread previews

**URL:** https://meta.discourse.org/t/chat-ui-emojis-render-as-shortcodes-in-thread-previews/376985
**Category:** UX
**Tags:** emoji, chat
**Created:** [August 2, 2025, 9:51am UTC](https://meta.discourse.org/t/chat-ui-emojis-render-as-shortcodes-in-thread-previews/376985 "2025-08-02T09:51:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Nima1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nima1/32/299628_2.png) [@Nima1](https://meta.discourse.org/u/Nima1)
#### Post date: [August 2, 2025, 9:51am UTC](https://meta.discourse.org/t/chat-ui-emojis-render-as-shortcodes-in-thread-previews/376985/1 "2025-08-02T09:51:24Z")

</div>

I’d like to report a UI rendering bug in the Discourse Chat plugin. In the chat channel list, the preview for the latest message in a thread displays the raw emoji shortcode instead of the rendered emoji.

**Steps to Reproduce:**

1. Go to any chat channel.

2. Create a new thread or reply to an existing one.

3. Send a message that contains an emoji (e.g., “Hello world :shaking\_hands:”).

4. Navigate back to the main chat view where all channels and threads are listed.

5. Observe the message preview for that thread.

**Expected Behavior:** The message preview for the thread should display the fully rendered emoji, for example: “Hello world 🤝”.

**Actual Behavior:** The message preview shows the un-rendered text shortcode, for example: “Hello world :shaking\_hands:”.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [August 2, 2025, 11:41am UTC](https://meta.discourse.org/t/chat-ui-emojis-render-as-shortcodes-in-thread-previews/376985/2 "2025-08-02T11:41:05Z")

</div>

Sorry, are you referring to the ‘My Threads’ page?

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/5/6/b56b6c298eb100bd31ce81871dee623ec2a978c2.png)

---

<div class="post-metadata">

### Author: ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)
#### Post date: [August 4, 2025, 3:49am UTC](https://meta.discourse.org/t/chat-ui-emojis-render-as-shortcodes-in-thread-previews/376985/3 "2025-08-04T03:49:37Z")

</div>

I cannot reproduce, if I put an emoji in a thread reply it renders in the preview as expected:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/b/7/9b7588fa44443776a8ce2fcc28d4b32627f66a42.png)

---

<div class="post-metadata">

### Author: ![Nima1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nima1/32/299628_2.png) [@Nima1](https://meta.discourse.org/u/Nima1)
#### Post date: [August 4, 2025, 8:29am UTC](https://meta.discourse.org/t/chat-ui-emojis-render-as-shortcodes-in-thread-previews/376985/4 "2025-08-04T08:29:46Z")

</div>

My bad. The issue seems to be about difference of how emojis are used in “cooked” and “excerpt” keys in API.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [August 10, 2025, 10:10pm UTC](https://meta.discourse.org/t/chat-ui-emojis-render-as-shortcodes-in-thread-previews/376985/5 "2025-08-10T22:10:34Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
