Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
821938089 committed Oct 7, 2023
1 parent 8620dfd commit e30d2a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/main/java/io/legado/app/model/localBook/EpubFile.kt
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,10 @@ class EpubFile(var book: Book) {
durIndex = 0
while (i < contents.size) {
val content = contents[i]
if (!content.mediaType.toString().contains("htm")) continue
if (!content.mediaType.toString().contains("htm")) {
i++
continue
}
/**
* 检索到第一章href停止
* completeHref可能有fragment(#id) 必须去除
Expand Down

0 comments on commit e30d2a9

Please sign in to comment.