Bulleted list break Enter key behaviour for code blocks with indented code

Steps to reproduce

  1. In a note, create a bulleted list item (e.g. - foo)
  2. Create a codeblock (three backticks)
  3. inside codeblock, press tab twice to indent, type anything, press enter
    e.g.
		With cursor placed at end of this line, press enter

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

Followed guide, tested and reproduced in sandbox vault

Expected result

a new line indented to the same level as previous line

Actual result

a new line without indentation, beginning with a hyphen

Environment

SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.8.3
Operating system: Windows 11 Home 10.0.26100
Login status: logged in
Language: en
Catalyst license: none
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

I have seen “Bulleted lists break Enter key behavior for Callouts later in document” and this is the same (erroneous) behavior, but with code blocks instead of callouts, so I am hoping this bug will be rapidly closed with “will be fixed in 2.8.5” as well :slight_smile:

yes, it should be fixed as well in 1.8.5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.