aboutsummaryrefslogtreecommitdiff
path: root/nov.el
diff options
context:
space:
mode:
authorVasilij Schneidermann <mail@vasilij.de>2018-09-30 22:38:40 +0200
committerVasilij Schneidermann <mail@vasilij.de>2018-09-30 22:38:40 +0200
commit78d6e2f289495bedf9a46d49a0ef141b940cc31d (patch)
tree458ab8e6494913c19cdef30a49564aef3ca07a45 /nov.el
parent3be6e8cd1a6311b0782ca2aa3d9961bec6183632 (diff)
urldecode file name and fragment
Diffstat (limited to 'nov.el')
-rw-r--r--nov.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/nov.el b/nov.el
index f3196b6..53087cf 100644
--- a/nov.el
+++ b/nov.el
@@ -410,7 +410,7 @@ Each alist item consists of the identifier and full path."
(defun nov-url-filename-and-target (url)
"Return a list of URL's filename and target."
(setq url (url-generic-parse-url url))
- (list (url-filename url) (url-target url)))
+ (mapcar 'url-unhex-string (list (url-filename url) (url-target url))))
(defun nov-insert-image (path)
"Insert an image for PATH at point.