Reading view: Loose Lists with tasks are indented incorrectly

image image
^ image 1 (correct formatting) & image 2 (incorrect formatting)

TLDR: if there exists a list, and there exists a task within that list, if there is any space between any two items in that list, tasks will not render properly

Steps to reproduce

  1. Create a new note in Obsidian.

* Enter the following Markdown code for a continuous task list:

# list
- [ ] task 1
- [ ] task 2
- [ ] task 2.1
- [ ] task 3
- item 1
- [ ] task 4

* Observe that the formatting renders correctly (as shown in the first image).

* Now, modify the task list by adding a blank line between the last two items (or any two items):

# list
- [ ] task 1
- [ ] task 2
- [ ] task 2.1
- [ ] task 3
- item 1

- [ ] task 4

* Observe that the formatting breaks (as shown in the second image).
* try adding a blank line between any items in a list, you will get similar issues

Did you follow the troubleshooting guide? [Y]

Yes, I tested the issue in a sandbox vault with no plugins or custom CSS.

Expected result

The task list should maintain consistent indentation and formatting regardless of the presence of blank lines between items.

Actual result

When a blank line is introduced between items in a task list, the indentation and formatting of subsequent items are disrupted, leading to inconsistent rendering.

Environment

Obsidian version: 1.8.4

Operating System: [Your OS here, e.g., Windows 10, macOS Monterey, etc.]


Additional information

  • The issue occurs regardless of where the blank line is placed, as long as there is a task list item present.
  • i.e. if there exists a list, and there exists a task within that list, if there is any space between any two items in that list, those tasks will not render properly

I can’t reproduce this.

Download and reinstall Obsidian. Please, post a screen recording of this happening in the sandbox vault.

I have uninstalled and reinstalled obsidian, started up a fresh vault. The issue has not been resolved. I have tested this on Obsidian 1.8.4 on both Windows 11 and Windows 10 machines
Recording2025-02-11105348-ezgif.com-video-to-gif-converter

I don’t see anything wrong with your screen recording.

If you have two lists with a blank line between them, unlike when there is only one list, the two lists are indented in reading view:
image

1 Like

Ok, this is the first time that you mention reading view in this report.

I’m not the OP.

Thank you for clarifying the issue!

Renamed and adding Minimum Reproducible example:

Obsidian_KC8UVi66qd

1 Like

Thanks

Ah this is much clearer. Thanks WhiteNoise

will be fixed 1.8.8. No ETAs.

1 Like