diff options
Diffstat (limited to 'lisp/org/ox.el')
-rw-r--r-- | lisp/org/ox.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/org/ox.el b/lisp/org/ox.el index 2a3edaa500f..a6209ee98f6 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el @@ -1908,8 +1908,10 @@ Return a string." (org-element-property :archivedp data))) (let ((transcoder (org-export-transcoder data info))) (or (and (functionp transcoder) - (broken-link-handler - (funcall transcoder data nil info))) + (if (eq type 'link) + (broken-link-handler + (funcall transcoder data nil info)) + (funcall transcoder data nil info))) ;; Export snippets never return a nil value so ;; that white spaces following them are never ;; ignored. |