RocketChat / RocketChat/Rocket.Chat

Emoji identifiers in headline markdown are not evaluated

Open
#33,067 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

planned type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

Emoji identifiers in headline markdown are not interpreted

Steps to reproduce:
  1. Write a new message
# :newspaper: This is a headline
  1. Hit 'Send'
Expected behavior:

I expect :newspaper: to show up as 📰

Actual behavior:

It shows up as :newspaper: This is a headline

image

Server Setup Information:
  • Version of Rocket.Chat Server: 6.9.2
  • License Type: Community
  • Number of Users: Dont know
  • Operating System: Linux
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: -
  • NodeJS Version: docker
  • MongoDB Version: 5.0
Client Setup Information
  • Desktop App or Browser Version: Desktop App, Flatpak, 4.0.1
  • Operating System: Fedora
Additional context

If works if I paste in the emoji directly and not with its identifier

Relevant logs:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue by sending a message containing # :newspaper: This is a headline and compare it with one using the pasted emoji. Trace the message markdown rendering path, then verify that the identifier is rendered as an emoji in a headline without changing other markdown behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.