Previewed list didn't display line breaks

Steps to reproduce

  • Create a note with this text "

NOTE 1

Title 1

  1. blablabla
    blobloblbo
  2. bliblibli
    blublublu

Title 2

In the same note below :

![[NOTE 1 #Title 1]]
Line breaks are not displayed

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

YES

Expected result

That the line breaks are properly displayed.

Actual result

Line breaks are not displayed.

Environment


Additional information

Any information needed? The bug is still here.

To test it

Test

  • Data 1
    Date 2

PREVIEW

![[##Test]]

Could it be a theme, CSS snippet, or plugin issue? This from a test vault: source > preview > reading modes all work:

## Test

- Data 1  
    Date 2

## PREVIEW

![[##Test]]

You’re right @Guapa, it looks like it is a bug from theme, CSS snippet, or plugin issue.

Could you please test with an opened and closed parenthesis at the first line, please? It triggers the bug each time for me.

 ## Test
1. Data 1(azeazeaaez)
    Date 2
2. Data 3
    Data 4

## PREVIEW
![[##Test]]

Looks good on iPhone. Primary theme. Obsidian 1.8.10 (197) Testflight

1 Like

@JohnnyFais you didn’t provide the info on the environment as requested in the bug report template (command palette->show debug info).

Also, Have you attempted this in the sandbox vault?

Also, did you enable strict line breaks and forgot about it?

1 Like

Hello.

With two spaces after Data 1(azeazeaaez) and Data 3 , I see the same as @harr

## Test
1. Data 1(azeazeaaez)  
    Date 2
2. Data 3  
    Data 4

## PREVIEW
![[##Test]]

ok, so you enabled strict line breaks. There is not bug here.