mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-29 07:58:21 +00:00
org-e-html.el: Properly render relative file URLs
This commit is contained in:
parent
2d71a58ef3
commit
d728c17004
@ -2501,9 +2501,8 @@ INFO is a plist holding contextual information. See
|
||||
((string= type "file")
|
||||
(when (string-match "\\(.+\\)::.+" raw-path)
|
||||
(setq raw-path (match-string 1 raw-path)))
|
||||
(if (file-name-absolute-p raw-path)
|
||||
(concat "file://" (expand-file-name raw-path))
|
||||
(concat "file://" raw-path)))
|
||||
(if (not (file-name-absolute-p raw-path)) raw-path
|
||||
(concat "file://" (expand-file-name raw-path))))
|
||||
(t raw-path)))
|
||||
protocol)
|
||||
(cond
|
||||
|
Loading…
Reference in New Issue
Block a user