|
@@ -163,7 +163,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) {
|
|
|
.getContent(
|
|
.getContent(
|
|
|
book,
|
|
book,
|
|
|
chapter,
|
|
chapter,
|
|
|
- content ?: "null",
|
|
|
|
|
|
|
+ content ?: "",
|
|
|
includeTitle = !AppConfig.exportNoChapterName,
|
|
includeTitle = !AppConfig.exportNoChapterName,
|
|
|
useReplace = useReplace,
|
|
useReplace = useReplace,
|
|
|
chineseConvert = false,
|
|
chineseConvert = false,
|
|
@@ -419,7 +419,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) {
|
|
|
upAdapterLiveData.postValue(book.bookUrl)
|
|
upAdapterLiveData.postValue(book.bookUrl)
|
|
|
exportProgress[book.bookUrl] = index
|
|
exportProgress[book.bookUrl] = index
|
|
|
BookHelp.getContent(book, chapter).let { content ->
|
|
BookHelp.getContent(book, chapter).let { content ->
|
|
|
- var content1 = fixPic(epubBook, book, content ?: "null", chapter)
|
|
|
|
|
|
|
+ var content1 = fixPic(epubBook, book, content ?: "", chapter)
|
|
|
content1 = contentProcessor
|
|
content1 = contentProcessor
|
|
|
.getContent(
|
|
.getContent(
|
|
|
book,
|
|
book,
|