Mixing Tabs and Spaces for indenting behaves incorrectly

Steps to reproduce

  1. Open Sandbox
  2. Paste this into any note
- 1 whatever
- 2 hit TAB ONCE with "Indent using tabs" ON
- 3 hit TAB TWICE with "Indent using tabs" OFF
  1. With “Options - Editor - Indent using tabs” TURNED ON, hit TAB ONCE on line 2
  2. With “Options - Editor - Indent using tabs” TURNED OFF, hit TAB TWICE on line 3
  3. Switch to reading mode

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

Yes.

Expected result

Actual result

Line 3 indents incorrectly.

Environment

SYSTEM INFO:
	Obsidian version: v1.7.7
	Installer version: v1.7.7
	Operating system: Windows 11 Home China 10.0.22631
	Login status: logged in
	Language: en
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none