Update dependencies (#422)

* Update dependencies and lint files

* Revert lint
This commit is contained in:
Mitchell Syer
2022-10-21 20:03:07 -04:00
committed by GitHub
parent d029e65b8e
commit 3bef07eeab
9 changed files with 42 additions and 42 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 { element -> "application/xhtml+xml" == element.attr("media-type") }
.associateBy { it.attr("id") }
val spine = document.select("spine > itemref").map { it.attr("idref") }