Space at beginning of line wrap

Steps to reproduce

Just write a longer paragraph and resize the panes a bit.

Expected result

Obsidian visually trims spaces from the beginning of lines.

Actual result

Obsidian sometimes puts a space at the beginning of a line as can be seen at the bottom of this screenshot:
Pasted image

Environment

  • Operating system:
    Ubuntu 20.04
  • Obsidian version:
    0.8.8

I think this is a by product of codemirror. We’ll look into it at some point.

1 Like

This sounds similar to a previous bug report. The discussion there seems to conclude that spaces should not be hidden in the editor.

Is this occurring in the preview as well, or only the editor?

Good catch that’s actually really the same problem.
I honestly haven’t used the preview mode that much but it seems that it only shows in editor mode.

I am going to close this and only keep the older report open

1 Like