Skip to content

Commit

Permalink
Use the correct function to unhex the URL string
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Dec 4, 2019
1 parent 3427a07 commit 4badf13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ox-hugo.el
Original file line number Diff line number Diff line change
Expand Up @@ -2332,7 +2332,7 @@ PATH is the path to the image or any other attachment.
INFO is a plist used as a communication channel."
;; (message "[ox-hugo attachment DBG] The Hugo section is: %s" (plist-get info :hugo-section))
;; (message "[ox-hugo attachment DBG] The Hugo base dir is: %s" (plist-get info :hugo-base-dir))
(let* ((path-unhexified (org-link-unescape path))
(let* ((path-unhexified (url-unhex-string path))
(path-true (file-truename path-unhexified))
(exportables org-hugo-external-file-extensions-allowed-for-copying)
(bundle-dir (and (plist-get info :hugo-bundle)
Expand Down

0 comments on commit 4badf13

Please sign in to comment.