generated from rnentjes/kotlin-server-web-empty
Fix checkbox list parsing error, and update version to 1.0.5
This commit is contained in:
@@ -182,7 +182,11 @@ fun markdown(text: String): List<MarkdownPart> {
|
||||
index++
|
||||
}
|
||||
|
||||
parseBuffer()
|
||||
if (type == MarkdownType.CHECKBOX_LIST) {
|
||||
parts.add(MarkdownPart.CheckboxList(checkboxList))
|
||||
} else {
|
||||
parseBuffer()
|
||||
}
|
||||
|
||||
return parts
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user