Incorrect rendering of paragraphs with line breaks

Steps to reproduce

Create a file “README.md” with the following contents:

Line one
Line two
Line three

Open “README.md” in Obsidian.

Observe the output.

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

The three lines should be rendered as a single wrapped paragraph, with line breaks in the Markdown source ignored:

Line one Line two Line three

Actual result

Line breaks in the paragraph are displayed, as if each line ended with two spaces:

Line one
Line two
Line three

I see this behavior in the Windows, Linux, and Android apps.

Environment

SYSTEM INFO:
Obsidian version: v1.8.7
Installer version: v1.8.7
Operating system: Windows 11 Home 10.0.26100
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
Um, fix it?


Additional information

Obsidian is one of several Markdown viewers with a similar bug.

I’ve created a Git repo with more details (the README.md file from the repo exhibits the bug).

Since I can’t include links, see the “markdown-linewrap” repo in the “Keith-S-Thompson” account on GitHub.

What do you have set for Settings > Editor → Strict line breaks?

Live Preview | Reading view

CleanShot 2025-03-08 at 13.36.33

I had “Strict line breaks” turned off, because for some reason that’s the default.

I’ve now turned it on, which makes it display correctly in “Reading view”, but not in editing mode.

The editor (Source mode and Live Preview) is going to display text however you typed it in.

source mode | live preview | reading