Space in Headings Bug in Live Preview

I think I found a glitch when folding headings in live preview. You can see me reproducing it in the Help vault in this video: LINK

Steps to reproduce

  1. Write a heading of any level
  2. Add a few lines
  3. Create another heading of the same level
  4. Add a space at the beginning this heading title
  5. Fold the previous heading of same level

Expected result

The second heading would remain visible as it does in Preview Mode.

Actual result

The second heading is swallowed by the previous of same level.

Environment

  • Operating system: macOS 12.2
  • Debug info:

SYSTEM INFO:
Obsidian version: v0.13.23
Installer version: v0.12.4
Operating system: Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 21.3.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Safe mode: on

RECOMMENDATIONS:
none


Additional information

I did a brief search in the forum before posting it. Apologies if this has already been tracked. I also don’t know whether this is intentional or not, so I thought it might be relevant.

Removing the space at the beginning of the second heading solves the problem.

doh! Thanks!

1 Like

will be fixed 0.13.24

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