In "Edit mode", with tabs set to 2 spaces, visual indentation width in the editor is not consistent

Steps to reproduce

  1. Disable `Settings:Editor:Behavior>Indent using tabs"
  2. Set Settings>Editor:Behavior>Tab indent size to 2 spaces.
  3. Open a new document/page
  4. Enable edit mode
  5. Type many nested list items. e.g
    - test
      - test
        - test
          - test
            - test  
    
  6. Observe that the rendering is inconsistent. If one simply hits enter at the end of the line, and then tab to indent, the following is the result:

image
8. If you reload Obsidian, it then looks like this:
image

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

Y

Expected result

I would expect to see nested lists rendered as follows:

- test
  - test
    - test
      - test
        - test

Actual result

They are instead rendered like this:
image

Environment

SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.7
Operating system: #1 SMP PREEMPT_DYNAMIC Tue, 10 Sep 2024 14:57:31 +0000 6.6.50-2-lts
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 7
Plugins enabled: 5
1: Chesser v0.2.1
2: Tag Wrangler v0.6.1
3: Latex Suite v1.9.5
4: Advanced Tables v0.22.0
5: Templater v2.7.1

Additional information

None.

Duplicate of:

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