Unexpected dashes in code block if a bullet point list exists before code block

Steps to reproduce

  1. Have a bullet point list on top of your note
  2. Create a code block
  3. Write code including indented code (min. 2 levels if indention)
  4. On the rightmost indented code press “return”
  5. A dash appears

Did you follow the troubleshooting guide?

Y

Expected result

No dashes appear!

/// Example

  • Bullet point
namespace bla {
	class A {
		int a;

	};
}

/// Example End

Actual result

A dash appears in the next line of the code block!

/// Example

  • Bullet point
namespace bla {
	class A {
		int a;
- 
	};
}

/// Example End

Environment

SYSTEM INFO:
Obsidian version: v1.8.4
Installer version: v1.8.4
Operating system: Windows 10 Enterprise 10.0.19045
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

Was also discussed in forum as “Unexpected dashes in python code blocks”, but no bug report was filed

Duplicate of: