RocketChat / RocketChat/Rocket.Chat
Emoji identifiers in headline markdown are not evaluated
Open
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:
- Write a new message
# :newspaper: This is a headline
- Hit 'Send'
Expected behavior:
I expect :newspaper: to show up as 📰
Actual behavior:
It shows up as :newspaper: This is a headline
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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