diff options
author | Carsten Dominik <carsten.dominik@gmail.com> | 2010-05-23 11:59:27 +0200 |
---|---|---|
committer | Carsten Dominik <carsten.dominik@gmail.com> | 2010-05-23 11:59:27 +0200 |
commit | 7831cb788504d4b44221f4a898b6cabaaed4c422 (patch) | |
tree | e120abeba33e474d0f1536e858e9d0732bad58ce | |
parent | 155394f49e9f08d707b784d9abb2d49ce532ef89 (diff) | |
download | org-mode-7831cb788504d4b44221f4a898b6cabaaed4c422.tar.gz |
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.
-rw-r--r-- | lisp/org-html.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-html.el b/lisp/org-html.el index d5f4775..221cbf6 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -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))) |