Skip to content

[BUG] Unexpected rendering of code block as title (ex. "ls -l") #3577

@thinksomuch

Description

@thinksomuch

Expected behaviour

The content inside the code block should be treated as plain code and not rendered as a heading.

Actual behaviour

When I write the following in the note content:

# ls -l

it gets rendered as a title, and "ls -l" appears as a heading.

This behavior started occurring recently (estimated within the last month). It was not happening before.

I have been waiting for a fix, but since no patch has been released yet, I am reporting this as an issue.

Steps to reproduce

Steps to reproduce the behavior:

  1. ...
  2. ...
  3. ...

Screenshots

From QOwnNotes - version 26.4.18 - GitHub Actions - build 1317

Image

Output from the debug section in the settings dialog

Expand

Relevant log output in the Log panel

Expand

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions