修复导出epub缺字

pull/949/head
ag2s20150909 4 years ago
parent fdb26c2b3f
commit 11b1e694a4
  1. 2
      app/src/main/java/io/legado/app/ui/book/cache/CacheViewModel.kt

@ -245,7 +245,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) {
content1 = contentProcessor content1 = contentProcessor
.getContent(book, chapter.title, content1, false, useReplace) .getContent(book, chapter.title, content1, false, useReplace)
.joinToString("\n") .joinToString("\n")
.replace(chapter.title, "") .replaceFirst(chapter.title, "")
epubBook.addSection( epubBook.addSection(
chapter.title, chapter.title,

Loading…
Cancel
Save