pull/1929/head
Xwite 3 years ago
parent 8c3dead3dd
commit 59046456c6
  1. 2
      app/src/main/java/io/legado/app/model/localBook/EpubFile.kt

@ -139,7 +139,7 @@ class EpubFile(var book: Book) {
* content src text/000001.html当前章节
- * content src text/000001.html#toc_id_x (下一章节
*/
if (res.href == nextUrl?.substringBeforeLast("#")) break
if (!nextUrl.isNullOrBlank() && res.href == nextUrl!!.substringBeforeLast("#")) break
} else if (isChapter) {
if (nextUrl.isNullOrBlank() || res.href == nextUrl.substringBeforeLast("#")) {
break

Loading…
Cancel
Save