summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2010-09-02 17:33:00 +0200
committerBastien Guerry <bzg@altern.org>2010-09-02 17:33:00 +0200
commit330fb5409eb50a9ee8e25c7ae463a6a3574e08d2 (patch)
tree5635d090b0b5d82cc33ecb7bfe742bd51f923095
parentbd1b57f92a33485c90db1efc407c8b7c7450993a (diff)
downloadorg-mode-330fb5409eb50a9ee8e25c7ae463a6a3574e08d2.tar.gz
Fix handling of absolute filenames' conversion to HTML links.
-rw-r--r--lisp/org-html.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-html.el b/lisp/org-html.el
index 022b87c..5da2a5f 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))