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