forked from mirrors/org-mode
Fix handling of absolute filenames' conversion to HTML links.
This commit is contained in:
parent
bd1b57f92a
commit
330fb5409e
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue