Update dependency org.jsoup:jsoup to v1.15.3

This commit is contained in:
renovate[bot]
2022-08-28 04:06:39 +00:00
committed by arkon
parent b79340989f
commit 3b34a878a7
2 changed files with 2 additions and 2 deletions

View File

@ -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") }