diff options
author | Vasilij Schneidermann <mail@vasilij.de> | 2021-11-30 19:05:28 +0100 |
---|---|---|
committer | Vasilij Schneidermann <mail@vasilij.de> | 2021-11-30 19:05:28 +0100 |
commit | 436f5ec473b69a9d3b6cb6405508e3564f61cd4b (patch) | |
tree | 9b8f1a19ce9114a22572bbff3dd3a9c29e0c56db | |
parent | b3c7cc28e95fe25ce7b443e5f49e2e45360944a3 (diff) |
Match any of the item properties against "nav"
-rw-r--r-- | nov.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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")) |