Explorar o código

Merge branch 'maint'

Nicolas Goaziou %!s(int64=10) %!d(string=hai) anos
pai
achega
e7df9bc5ae
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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