Codeblock in quoteblock broken in LivePreview

Steps to reproduce

  1. Put a code block (enclosed with 2 ```) in a quoteblock.
  2. Exit the code block with line break
  3. Every list item and code block afterwards is broken

Example 1:
image

Example 2:
image

(I have to post screenshots because the original source will break this post also, even if enclosed in codeblock triple carets)

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

Example 1 gives the following result in CommonMark dingus, with the callout removed:

Actual result

Example 1:


Example 2:

Environment

SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.5.8
Operating system: Windows 10 Pro 10.0.19045
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Example 2 (callout removed) in CommonMark dingus is not exactly properly formed, in that the triple caret(```) is not used to exit the code block. Nevertheless, it is another example for debugging/showcase:

1 Like

Have a look here:

1 Like