Explorar o código

Fix handling of absolute filenames' conversion to HTML links.

Bastien Guerry %!s(int64=15) %!d(string=hai) anos
pai
achega
330fb5409e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))