Browse Source

Fix handling of absolute filenames' conversion to HTML links.

Bastien Guerry 14 years ago
parent
commit
330fb5409e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-html.el

+ 1 - 1
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))