From 0ef21fcd6394b3551a94a5878d414f2e7d17e372 Mon Sep 17 00:00:00 2001 From: Jay Kamat Date: Sun, 9 Jul 2017 17:50:09 -0700 Subject: [PATCH] ox-md.el: Fix export of irc and mailto links * lisp/ox-md.el (org-md-link): Add mailto and irc to links that pass their types through to markdown export See: https://github.com/larstvei/ox-gfm/issues/17 for an external bug report TINYCHANGE --- lisp/ox-md.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-md.el b/lisp/ox-md.el index e2b3d29e1..08e385282 100644 --- a/lisp/ox-md.el +++ b/lisp/ox-md.el @@ -448,7 +448,7 @@ a communication channel." (t (let* ((raw-path (org-element-property :path link)) (path (cond - ((member type '("http" "https" "ftp")) + ((member type '("http" "https" "ftp" "mailto" "irc")) (concat type ":" raw-path)) ((string= type "file") (org-export-file-uri (funcall link-org-files-as-md raw-path))) -- 2.11.0