summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2014-08-22 12:52:21 (GMT)
committer Nicolas Goaziou <mail@nicolasgoaziou.fr>2014-08-22 12:53:07 (GMT)
commit1a89ec59fa8c183c64d94c8cf49ce8196a4cdbc8 (patch)
tree7c56926e89f05871fe79ced1c10eba2546dbb530
parentb8b34eadb42ebad53e767394f2ce4bdf31fa7507 (diff)
downloadorg-mode-maint.zip
org-mode-maint.tar.gz
ox-md: Fix b8b34eamaint
* lisp/ox-md.el (org-md-link): Fix b8b34ea.
-rw-r--r--lisp/ox-md.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ox-md.el b/lisp/ox-md.el
index b9b44d6..99a4ae0 100644
--- a/lisp/ox-md.el
+++ b/lisp/ox-md.el
@@ -335,7 +335,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