compose-richtext icon indicating copy to clipboard operation
compose-richtext copied to clipboard

Bug with empty list item

Open akishind-medlinx opened this issue 1 year ago • 1 comments

Hello! There seems to be a visual bug when there is en empty item in the list, for the text after the list. For example

MaterialRichText(style = null) {
    Markdown(
        content = "List\n* item1\n* \n* item2\n\nSome text",
        onLinkClicked = null
    )
}

produces this result: image

This is the expected result (I added a non-breaking space for the empty item): image

Can you tell me, is it caused by a bug in the library? Or is this a problem with the Markdown itself, and its specification?

akishind-medlinx avatar Oct 10 '22 06:10 akishind-medlinx