-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
L2 - annoyingSimilar to L1 - broken but there is a known workaround available for the issueSimilar to L1 - broken but there is a known workaround available for the issuecategory: lists
Description
Marked version: 17.0.1
Describe the bug
Attempting to interject with a quoteblock in a tight list will guarantee it a child of the above list item, regardless of the indentation difference.
To Reproduce
Demo example:
### Child
- list item
- nested list item
> quoteblock
- - -
### Sibling
- list item
- nested list item
> quoteblock
- - -
### Parent level
- list item
- nested list item
> quote blockAs tested on marked.js.org/demo:
Expected behavior
Similarly to a list item, when sharing an indentation with another LI, it should be the sibling of that LI.
As tested on spec.commonmark.org/dingus:

Metadata
Metadata
Assignees
Labels
L2 - annoyingSimilar to L1 - broken but there is a known workaround available for the issueSimilar to L1 - broken but there is a known workaround available for the issuecategory: lists