Steps to reproduce
- Open a document in the editor
- Add a line of text long enough to be automatically wrapped.
I use the text: “Maecenas facilisis venenatis pellentesque. Aenean nec pharetra dui. Quisque rutrum sit amet tellus sed maximus.”
- Pick the word just before the line-break, in my case Quisque.
- Wrap that word in an inline code block:
Maecenas facilisis venenatis pellentesque. Aenean nec pharetra dui. `Quisque` rutrum sit amet tellus sed maximus.
Expected result
The space between Quisque and rutrum should be collapsed.

Actual result
The space between Quisque and rutrum is not collapsed and the line following the word-wrap begins with a space.

Environment
- Operating system: Linux
- Obsidian version: 0.7.6
Additional information
2 spaces following the inline code-block also fail to collapse.
3-10 spaces following the inline code-block collapse as expected and the line following the word-wrap does not begin with a space.
11+ spaces fail to collapse.
No quantity of spaces effects preview at all.