Browse Source

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
Jay Kamat 7 năm trước cách đây
mục cha
commit
a8ee8e1e50
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/ox-md.el

+ 1 - 1
lisp/ox-md.el

@@ -411,7 +411,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)))