commit cf87c16810a08c8eaed790e99c2bea5b3c9bb1ae parent 434447251343164e3aacd9db17e67dd2a10b6e65 Author: Oleh Krehel <ohwoeowho@gmail.com> Date: Wed, 29 Aug 2018 18:10:41 +0200 org-download.el (org-download-insert-link): org-link-escape Diffstat:
| M | org-download.el | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/org-download.el b/org-download.el @@ -399,7 +399,9 @@ It's inserted before the image link and is used to annotate it.") (if (= org-download-image-latex-width 0) "" (format "#+attr_latex: :width %dcm\n" org-download-image-latex-width)) - (format org-download-link-format (file-relative-name filename (file-name-directory (buffer-name)))))) + (format org-download-link-format + (org-link-escape + (file-relative-name filename (file-name-directory (buffer-name))))))) (org-display-inline-images)) (defun org-download--at-comment-p ()