marked icon indicating copy to clipboard operation
marked copied to clipboard

List item content wrong indent

Open xepozz opened this issue 2 months ago • 1 comments

Marked version:

Describe the bug

There's a bug when list item content renders wrong. Attaching the example to describe the bug

To Reproduce Steps to reproduce the behavior:

- **Header**:  
  new line

  two space
 one space
no space

new line

Expected behavior

Expect what GFM does:


  • Header:
    new line

    two space one space no space

new line


Actual Demo

Image

Intellij IDEA render:

Image

xepozz avatar Nov 13 '25 18:11 xepozz

@xepozz do you think the issue is persistent with the newer versions? Because i tried reproducing the issue in the newer versions (specifically version 17.0.1) and it worked as expected. Also i don't know why but the demo you have linked changes the version to 17.0.0 and only in that specific session the bug is reproduced. If you open the site again and change the version to 17.0.0 the bug is fixed.

also i have tried reproducing the bug locally using a custom editor with marked library but it works as expected.

i think the expected behavior for the md should be this-

  • Header: new line

    two space

one space no space

new line

Am i missing something?

Aryan-Shan avatar Dec 02 '25 14:12 Aryan-Shan