0
0
Fork 1
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:
Carsten Dominik 2010-05-23 11:59:27 +02:00
parent 155394f49e
commit 7831cb7885

View file

@ -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)))