RocketChat / RocketChat/Rocket.Chat
The font will turn blue and the // symbol will be added automatically
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
I enter the following text:
1.測試
2.test
If you add Chinese characters after 1., the Chinese characters will turn into blue fonts, and you will see them when you move the mouse over
//1.測試
Steps to reproduce:
- input 1.中文
- Send it.
- It's will show blue font and will auto add //
Expected behavior:
It should display the same black font as 2.test without adding // in front
Actual behavior:

Server Setup Information:
- Version of Rocket.Chat Server: 5.4.0
- Operating System: Ubuntu
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v14.19.3
- MongoDB Version: 4.4.15
Client Setup Information
- Desktop App or Browser Version: 3.8.14
- Operating System: Win11
Additional context
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
Start by reproducing the behavior in the Rocket.Chat client using the reported Chinese text after 1. and compare it with 2.test. Inspect the client message rendering and formatting behavior. Done means the Chinese text remains black and no // prefix is added.
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