RocketChat / RocketChat/Rocket.Chat

The font will turn blue and the // symbol will be added automatically

Open
#27,485 1 comment 0 reactions 0 assignees View on GitHub

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:
  1. input 1.中文
  2. Send it.
  3. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.