Skip to content

Markdown: First Line Of "Triple Backtick" Code Blocks is Sometimes "Absorbed" Into Triple-Backtick-Line #1563

@gohrner

Description

@gohrner

Please use the 👍 reaction to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug
First Line Of "Triple Backtick" Code Blocks is Sometimes "Absorbed" Into Triple-Backtick-Line.

See screencast.

To Reproduce
Steps to reproduce the behavior:

  1. Enter a (in this example one-line) Markdown code block into a description field
  2. Leave edit mode.
  3. The description field will be empty.
  4. Re-entering edit mode will show why: the code block content was merged into the first "backtick line".

Expected behavior
The first line in the actual code block should NOT be merged into the backtick line.

Screenshots
Peek 2023-03-16 22-12

Nextcloud (please complete the following information):

  • Nextcloud-Version: 25.0.4
  • Forms-Version: 3.2.0

Desktop (please complete the following information):

  • OS: KDE neon (Ubuntu 22.04)
  • Browser: Chromium
  • Version 111.0.5563.64 (Offizieller Build) Built on Ubuntu , running on neon 22.04 (64-Bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    3. to reviewWaiting for reviewsbugSomething isn't workingupstreamBlocked or cause by an upstream issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions