Live preview multi-level list results in 'unclassed' lines after unfolding

I am doing a significant rewrite of the default/minimal theme to get live preview ‘less jumpy’ and more in line with reading mode. However, I’ve ran into the following layout breaking issue:

Steps to reproduce

  1. Create a list with more than 2 levels of nesting in live preview mode using tabs:
  2. Add a short strings to each level ( < 3 characters)
- A
	- B
		- C
			- DDD
			- EEE
  1. Fold each level starting from deepest
  2. Unfold each level again

Expected result

A list line with a .HyperMD-list-line class.

Actual result

A list line with just the .cm-line class. The issue disappears for strings longer than 4 characters.

Environment

  • SYSTEM INFO:
    Obsidian version: v1.1.9
    Installer version: v1.0.0
    Operating system: Windows 10 Home 10.0.19045
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: light
    Community theme: Minimal v6.1.9
    Snippets enabled: 1
    Restricted mode: off
    Plugins installed: 18
    Plugins enabled: 0

Additional information

  1. Add list

  2. Fold each level starting by deepest

  3. Unfold again

  4. Issue dissappears for 4> characters