Skip to content

Escaping of square brackets breaks links of embedded attachments for external Markdown Editor #4795

@chrda81

Description

@chrda81

Short summary of the issue

I'm using an external Markdown Editor (Obsidian) and sync the files via the NextCloud Desktop Client to the server. When saving a markdown file with the NextCloud text editor in the web interface, the links for embedded attachements are broken, because the square brackets are escaped with a backslash. Can this escaping for square brackets (or other chars) manually turned off?

  • 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 content

![[Pasted image 20230908203759.png]]

Resulting markdown content after saving

!\[\[Pasted image 20230908203759.png\]\]

Screenshot of the rendering in text

image

Details

  • Nextcloud version: Nextcloud AIO v7.1.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions