Skip to content

Markdown hyperlink syntax #31766

@Zzzenk

Description

@Zzzenk

Search before asking

  • I had searched in the issues and found no similar issues.

Operating System

  • macOS
  • Windows
  • Linux

Operating System Version

No response

It happens on the web browser too?

Yes, it happens on the web browser too

Rocket.Chat Desktop App Version

3.9.11

Rocket.Chat Server Version

6.4.5

Describe the bug

If to type between two hyperlink any text in square brackets it's broke markdown.

Example:

## [v2023.12.21.3](https://https://github.com/)
- [BUG #11111](https://https://github.com/) - [BACK] changelog description
- [BUG #22222](https://github.com/) - changelog description
- [BUG #33333](https://https://github.com/) - [BACK] changelog description
- [BUG #44444](https://github.com/) - changelog description

image

How to Reproduce

  1. Copy and paste followng text to any chat:
## [v2023.12.21.3](https://https://github.com/)
- [BUG #11111](https://https://github.com/) - [BACK] changelog description
- [BUG #22222](https://github.com/) - changelog description
- [BUG #33333](https://https://github.com/) - [BACK] changelog description
- [BUG #44444](https://github.com/) - changelog description
  1. See broken markdown

Describe your Expected behavior

No response

Anything else

No response

Are you willing to submit a code contribution?

  • Yes, I am willing to submit a Pull Request!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions