Skip to content

Links removed on text formatted as inline code #4900

@Imberflur

Description

@Imberflur

Short summary of the issue

Opening markdown with links on text containing inline code formatting with backticks will remove the link or move it to the first portion of text before the inline code formatting starts. I believe this is a specific case of #593 but I haven't been able to find any discussion/information on this particular case.

  • Markdown syntax is not properly rendered in text
  • Markdown syntax is removed after closing text
  • Markdown syntax is changed after closing text
  • Something else: Please describe more in detail

Example markdown file

[`SomeCode`](https://link.to/something)
[One `two` three](https://link.to/something)

Resulting markdown file after opening in text

`SomeCode`
[One](https://link.to/something) `two` three

Screenshot of the rendering in text

image

Details

  • Nextcloud version: 27.1.2

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions