Skip to content

Commit 8a57a85

Browse files
committed
⭐ feat: list fix
1 parent 7f21ab9 commit 8a57a85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
}
99

1010
group = "io.github.devngho"
11-
version = "0.2.2"
11+
version = "0.2.3"
1212

1313
repositories {
1414
mavenCentral()

src/commonMain/kotlin/io/github/devngho/kmarkdown/flavor/common/List.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data class List(val items: KList<MarkdownElement>, val listStyle: ListStyle): Ma
3434

3535
override fun encode(): String = items.mapIndexed() { index, it ->
3636
when (it) {
37-
is List -> it.encode().prependIndent(" ")
37+
is List -> it.encode().prependIndent(" ")
3838
is Block -> {
3939
when (listStyle) {
4040
ListStyle.ORDERED -> "${index + 1}. " + it.encode()

0 commit comments

Comments
 (0)