Skip to content

New message parser fails to render markdown-formatted links with underscores in the description #27484

@ebyrne242

Description

@ebyrne242

Description:

New message parser fails to render markdown-formatted links with underscores in the description. This does not occur with the legacy message parser.

Steps to reproduce:

  1. Enter a message such as [google_search](https://www.google.com)

Expected behavior:

Link is rendered with the link text google_search

Actual behavior:

The text is displayed as entered. This is the rendered output of:

[google_search](https://www.google.com)
[google search](https://www.google.com)

image

Server Setup Information:

  • Version of Rocket.Chat Server: 5.3.3
  • Operating System: Rocky Linux 8.7
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: yes
  • NodeJS Version: v14.19.3
  • MongoDB Version: 5.0.14 / wiredTiger (oplog Enabled)

Client Setup Information

  • Desktop App or Browser Version: Desktop App 3.8.12 (Linux) and 3.8.13 (MacOS)
  • Operating System: Linux and MacOS

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions