-
-
Notifications
You must be signed in to change notification settings - Fork 371
Closed
Labels
remark-parse🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix
Description
Subject of the issue
commonmark: true
* hello1
* hello2
* hello3
* hello4
* hello5
* hello6
Steps to reproduce
Expected behaviour
Same as CommonMark playground:
[
{
"type": "list",
"ordered": false,
"start": null,
"loose": true,
"children": [
{
"type": "listItem",
"loose": true,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello1"
}
]
}
]
},
{
"type": "listItem",
"loose": true,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello2"
}
]
}
]
},
{
"type": "listItem",
"loose": true,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello3"
}
]
}
]
},
{
"type": "listItem",
"loose": true,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello4"
}
]
}
]
},
{
"type": "listItem",
"loose": true,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello5"
}
]
}
]
},
{
"type": "listItem",
"loose": false,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello6"
}
]
}
]
}
]
}
]
Actual behaviour
[
{
"type": "list",
"ordered": false,
"start": null,
"loose": true,
"children": [
{
"type": "listItem",
"loose": true,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello1"
}
]
}
]
},
{
"type": "listItem",
"loose": false,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello2"
}
]
}
]
}
]
},
{
"type": "list",
"ordered": false,
"start": null,
"loose": true,
"children": [
{
"type": "listItem",
"loose": true,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello3"
}
]
}
]
},
{
"type": "listItem",
"loose": false,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello4"
}
]
}
]
}
]
},
{
"type": "list",
"ordered": false,
"start": null,
"loose": true,
"children": [
{
"type": "listItem",
"loose": true,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello5"
}
]
}
]
},
{
"type": "listItem",
"loose": false,
"checked": null,
"children": [
{
"type": "paragraph",
"children": [
{
"type": "text",
"value": "hello6"
}
]
}
]
}
]
}
]
kachkaev and wooorm
Metadata
Metadata
Assignees
Labels
remark-parse🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix