generated from rnentjes/kotlin-server-web-empty
Update parser to clear checkboxList after processing, ensuring proper parsing, and bump version to 1.0.10
This commit is contained in:
@@ -59,6 +59,7 @@ fun markdown(text: String): List<MarkdownPart> {
|
||||
addCheckbox(checkboxList, checkboxLine, buffer)
|
||||
}
|
||||
parts.add(MarkdownPart.CheckboxList(checkboxList))
|
||||
checkboxList.clear()
|
||||
parseBuffer()
|
||||
continue
|
||||
} else if (line.startsWith("- [ ]") || line.startsWith("- [x]")) {
|
||||
|
||||
Reference in New Issue
Block a user