Italics renders incorrectly in source mode when wrapping non-alphanumeric characters in the middle of a word

Steps to reproduce

  1. open an empty note
  2. *type:
foo*{}*bar
baz *qux*.
  1. switch to source mode

*the {} can (seemingly) be replaced with any non-alphanumeric character and the bug still occurs.

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

Y

Expected result

For *{}* and *qux* to be italicized and nothing else in source mode.

Actual result

image
in the sandbox vault with no snippets and default theme in source mode.

image
i added a css snippet that changes the color of italics to see make it easier to see.

.cm-em, em {
	color: orange !important
}

Environment

SYSTEM INFO:
	Obsidian version: v1.6.7
	Installer version: v1.5.12
	Operating system: Windows 10 Home 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

image
it renders perfectly in reading mode.