Update parser to clear checkboxList after processing, ensuring proper parsing, and bump version to 1.0.10

This commit is contained in:
2026-01-16 08:46:32 +01:00
parent c9bbb0c3a7
commit a10532d762
2 changed files with 2 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ plugins {
}
group = "nl.astraeus"
version = "1.0.9"
version = "1.0.10"
repositories {
mavenCentral()

View File

@@ -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]")) {