Skip to content

Nextcloud editor mangling reference links #6864

@cosmiczoo

Description

@cosmiczoo

Short summary of the issue

Nextcloud markdown editor quietly changes links in markdown file containing links in the format [[Name of a page]] to [[Name of a page[[

  • 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

Open a markdown file created in Nextcloud say New text file.md
Contents of file:

This is some text and here is a [[Link to another page]] in Logseq's markdown dialect.

Open in Nextcloud Markdown editor.
The [[ ... ]] references look unchanged in Nextdown editor.
Make no changes to the file.
Close the file.

Resulting markdown file New text file.md after opening in text

This is some text and here is a \[\[Link to another page\]\] in Logseq's markdown dialect.

Screenshot of the rendering in text

Picture of New Text file.md opened in kWrite

Picture of same file opened in Nextcloud web editor

Details

  • Nextcloud version: 30.0.4
  • Ubuntu Server
$ snap list nextcloud
Name       Version      Rev    Tracking       Publisher   Notes
nextcloud  30.0.4snap1  45728  latest/stable  nextcloud✓  -

Preferred solution alternatives

  1. If the syntax is not in the Nextcloud Markdown dialect, make the editor pass through the unsupported text unmodified
  2. If the file is not edited but only read, do not change the file or reinstate the file.
  3. Plug in a suitable alternative markdown editor that is tolerant of foreign markdown.

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