Skip to content

Messed up entire markdown syntax #2577

@vittorio-c

Description

@vittorio-c

Describe the bug

The app messed up the entire markdown syntax of my file.

To Reproduce

Steps to reproduce the behavior:

  1. Create a markdown file in your regular markdown editor.
  2. Add normal stuff like lists, break lines, code fences, math expressions.
  3. Then open up your file in the "nextcloud/text" app and save the file.
  4. Open back your file in your regular markdown editor, and see errors : all your makrdown syntax is entirely messed up :
  • Backslash are added on every single math anotations.
  • Break lines are removed.
  • Lists '-' are replaced with '*'.
  • '<' and '>' in URL are simply... removed.
  • Langage indices (ex: 'python') in code fences are removed.

Is this normal behavior ? It sounds like the app is trying to avoid langage injection, or something like this. But I don't see why, since it's just regular file. There is no "excecution" capability in markdown file, isn't it ?

Expected behavior

None of my markdown syntax is touched.

Client details:

  • OS: Linux Manjaro 5
  • Browser: Firefox
  • Device: Desktop

Text app version: 3.5.1

Web server: Nextcloud 24

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions