mirror of
https://github.com/gedoor/legado.git
synced 2024-07-06 23:47:49 +08:00
空白章节导出时输出""
This commit is contained in:
parent
d2a38993b8
commit
d1b84c433c
@ -163,7 +163,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) {
|
||||
.getContent(
|
||||
book,
|
||||
chapter,
|
||||
content ?: "null",
|
||||
content ?: "",
|
||||
includeTitle = !AppConfig.exportNoChapterName,
|
||||
useReplace = useReplace,
|
||||
chineseConvert = false,
|
||||
@ -419,7 +419,7 @@ class CacheViewModel(application: Application) : BaseViewModel(application) {
|
||||
upAdapterLiveData.postValue(book.bookUrl)
|
||||
exportProgress[book.bookUrl] = index
|
||||
BookHelp.getContent(book, chapter).let { content ->
|
||||
var content1 = fixPic(epubBook, book, content ?: "null", chapter)
|
||||
var content1 = fixPic(epubBook, book, content ?: "", chapter)
|
||||
content1 = contentProcessor
|
||||
.getContent(
|
||||
book,
|
||||
|
Loading…
Reference in New Issue
Block a user