Skip to content

Commit

Permalink
Merge pull request #271 from keta1/develop
Browse files Browse the repository at this point in the history
fix find listIndicator error
  • Loading branch information
mikepenz authored Jan 13, 2025
2 parents 017e588 + e72fd84 commit 226b420
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fun MarkdownListItems(
node.children.forEach { child ->
when (child.type) {
MarkdownElementTypes.LIST_ITEM -> {
val listIndicator = when (child.type) {
val listIndicator = when (node.type) {
ORDERED_LIST -> child.findChildOfType(LIST_NUMBER)
UNORDERED_LIST -> child.findChildOfType(LIST_BULLET)
else -> null
Expand Down

0 comments on commit 226b420

Please sign in to comment.