Unexpectedly inserting - when pressing enter in code block

Steps to reproduce

In this case (the indentation in code block is tab)

I press enter, then it unexpectedly insert -

This only happens if there is a bullet list on top and the indentation use tab. This does not happen if indentation is space.

Did you follow the troubleshooting guide? Y

Yes

Expected result

Should not automatically add -

Actual result

Wrongly added -

Environment

SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.6.7
Operating system: Windows 11 Pro 10.0.26100
Login status: not logged in
Language: en
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

1 Like

This will be fixed in 1.8.5