|
|
@ -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, |
|
|
|