aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasilij Schneidermann <mail@vasilij.de>2021-11-30 19:05:28 +0100
committerVasilij Schneidermann <mail@vasilij.de>2021-11-30 19:05:28 +0100
commit436f5ec473b69a9d3b6cb6405508e3564f61cd4b (patch)
tree9b8f1a19ce9114a22572bbff3dd3a9c29e0c56db
parentb3c7cc28e95fe25ce7b443e5f49e2e45360944a3 (diff)
Match any of the item properties against "nav"
-rw-r--r--nov.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/nov.el b/nov.el
index 1ac4468..9691382 100644
--- a/nov.el
+++ b/nov.el
@@ -330,7 +330,7 @@ Each alist item consists of the identifier and full path."
(cons toc-file files))))
(defun nov--content-epub3-files (content manifest files)
- (let* ((node (esxml-query "package>manifest>item[properties=nav]" content))
+ (let* ((node (esxml-query "package>manifest>item[properties~=nav]" content))
(id (esxml-node-attribute 'id node)))
(when (not id)
(error "EPUB 3 <nav> ID not found"))