RocketChat / RocketChat/Rocket.Chat

Quote is interrupted instead of being displayed with a blank line

Open
#30,604 6 comments 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:

A blank line in a quote breaks the quote and displays a line with > instead of inserting a blank line within the quote.

Steps to reproduce:
  1. send a message (to someone or yourself) with the following content, e.g.:
    > my quote
    > 
    > more quoted text after a blank line
    
Expected behavior:

The quote should be displayed as an entire block and should not be interrupted.

grafik

Actual behavior:

grafik

Server Setup Information:
  • Version of Rocket.Chat Server: 6.2.12 / 6.3.5 / 6.3.10 / 6.4.1
  • Operating System: Ubuntu 22.04
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 14.21.2
  • MongoDB Version: 5.0.21
Client Setup Information

The problem occurs in the browser as well as in the app (Android and iOS).

  • Browser Version: ✔️ Chrome, Firefox
  • Mobile Client: ✔️ Android (v4.41.0.49563), iOS (v4.41.0)

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 quoted message from the issue in the browser or app and trace the message-rendering entry point; no file or test is named in the report. Done means a blank line remains inside one continuous quote block rather than rendering as a separate > line, with coverage for the supplied example.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.