From: David Maus <dm...@ictsoc.de>

---
 lisp/ChangeLog   |    3 +++
 lisp/org-html.el |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b3a3529..1bbb4be 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2010-05-22  David Maus  <dm...@ictsoc.de>
 
+       * org-html.el (org-html-make-link): Don't add url type if link
+       is relative.
+
        * org-w3m.el (org-w3m-copy-for-org-mode)
        (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
        Get text property directly, not using macro `w3m-anchor'.
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)))
 
-- 
1.7.1


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to