There is 1 comment.
 
 
Markdown Syntax / cid:jira-generated-image-avatar-f66ad5e8-20f8-485a-9872-37cf32b0cd18 MARKDOWN-124 Open

Empty list items are merged with the previous line in CommonMark Markdown 1.2

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-64d815f5-5f31-4944-b756-e65e25e7ca92 Vincent Massol on 31/Oct/26 17:43
 

Still reproducible on master after the 8.10.0 fixes, with a nested empty list item. For example, rendering the following xhtml/1.0 content to markdown/1.2:

<ul><li>a<ul><li></li></ul></li><li>c</li></ul>

gives

* a
    * 
* c

which is read back as a list item containing the text "a *" (the nested empty list is lost). Empty items at the first level of a list are now read back correctly.