Skip to content

Inline code test/test not parsed correctly #9553

@martinvonwittich

Description

@martinvonwittich

Description:

This is a very minor issue, but I've noticed it several times now, and the Rocket.Chat behaviour seems to deviate from several other Markdown interpreters I've tested.

The problem is that Rocket.Chat won't display the following Markdown code correctly:

`test`/`test`

See Steps to reproduce below. I've tried several other Markdown interpreters I've found online, and they all display it correctly:

Server Setup Information:

  • Version of Rocket.Chat Server: 0.60.3
  • Operating System: Debian stretch
  • Deployment Method(snap/docker/tar/etc): tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Disabled
  • Node Version: v8.9.3

Steps to Reproduce:

Post this string in Rocket.Chat:

`test`/`test`

Expected behavior:

It should be displayed like this (GitHub does it correctly):

test/test

Actual behavior:

But instead it is displayed like this:

test/`test`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions