From 330fb5409eb50a9ee8e25c7ae463a6a3574e08d2 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 2 Sep 2010 17:33:00 +0200 Subject: [PATCH] Fix handling of absolute filenames' conversion to HTML links. --- lisp/org-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 022b87c06..5da2a5fd1 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -720,7 +720,7 @@ MAY-INLINE-P allows inlining it as an image." ;;Substitute just if original path was absolute. ;;(Otherwise path must remain relative) (if (file-name-absolute-p path) - (concat "/" (expand-file-name path)) + (concat "file://" (expand-file-name path)) path))) ((string= type "") (list nil path))