浏览代码

Merge branch 'maint'

Nicolas Goaziou 10 年之前
父节点
当前提交
e7df9bc5ae
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      lisp/ox-md.el

+ 4 - 1
lisp/ox-md.el

@@ -351,7 +351,10 @@ a communication channel."
      ;; Link type is handled by a special function.
      ((let ((protocol (nth 2 (assoc type org-link-protocols))))
 	(and (functionp protocol)
-	     (funcall protocol (org-link-unescape path) desc 'md))))
+	     (funcall protocol
+		      (org-link-unescape (org-element-property :path link))
+		      contents
+		      'md))))
      (t (let* ((raw-path (org-element-property :path link))
 	       (path
 		(cond