From 78d6e2f289495bedf9a46d49a0ef141b940cc31d Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Sun, 30 Sep 2018 22:38:40 +0200 Subject: urldecode file name and fragment --- nov.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3