Update dependency org.jsoup:jsoup to v1.15.3

(cherry picked from commit 3b34a878a7)
This commit is contained in:
renovate[bot]
2022-08-28 04:06:39 +00:00
committed by Jobobby04
parent ceec0421c8
commit bee3d24ae8
2 changed files with 2 additions and 2 deletions
@@ -139,7 +139,7 @@ class EpubFile(file: File) : Closeable {
*/
private fun getPagesFromDocument(document: Document): List<String> {
val pages = document.select("manifest > item")
.filter { "application/xhtml+xml" == it.attr("media-type") }
.filter { node -> "application/xhtml+xml" == node.attr("media-type") }
.associateBy { it.attr("id") }
val spine = document.select("spine > itemref").map { it.attr("idref") }