pull/32/head
kunfei 5 years ago
parent 9750eaeabc
commit 7395f84e0d
  1. 4
      app/src/main/java/io/legado/app/model/webbook/BookContent.kt

@ -82,7 +82,9 @@ object BookContent {
}
if (content.isNotEmpty()) {
if (!content[0].toString().startsWith(bookChapter.title)) {
content.insert(0, bookChapter.title)
content
.insert(0, "\n")
.insert(0, bookChapter.title)
}
}
return content.toString()

Loading…
Cancel
Save