mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-21 01:18:40 +00:00
Don't add url type if link is relative.
* org-html.el (org-html-make-link): Don't add url type if link is relative.
This commit is contained in:
parent
155394f49e
commit
7831cb7885
|
@ -640,7 +640,7 @@ MAY-INLINE-P allows inlining it as an image."
|
|||
(setq thefile
|
||||
(let
|
||||
((str (org-export-html-format-href thefile)))
|
||||
(if type
|
||||
(if (and type (string-match-p "^//" str))
|
||||
(concat type ":" str)
|
||||
str)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue