mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
[skip ci]
This commit is contained in:
@@ -229,7 +229,7 @@ class EpubFile(var book: Book) {
|
||||
}
|
||||
if (!endFragmentId.isNullOrBlank() && endFragmentId != startFragmentId) {
|
||||
bodyElement.getElementById(endFragmentId)?.outerHtml()?.let {
|
||||
bodyString = bodyString.substringBefore(it).ifBlank { bodyString }
|
||||
bodyString = bodyString.substringBefore(it)
|
||||
}
|
||||
}
|
||||
//截取过再重新解析
|
||||
|
||||
Reference in New Issue
Block a user