Use new function `org-export-custom-protocol-maybe'
This commit is contained in:
@@ -1068,9 +1068,10 @@ INFO is a plist holding contextual information."
|
|||||||
(org-export-read-attribute :attr_rst parent))))
|
(org-export-read-attribute :attr_rst parent))))
|
||||||
(attributes
|
(attributes
|
||||||
(let ((attr (org-rst--make-attribute-string attributes-plist)))
|
(let ((attr (org-rst--make-attribute-string attributes-plist)))
|
||||||
(if (org-string-nw-p attr) (concat "\n" attr "\n") "")))
|
(if (org-string-nw-p attr) (concat "\n" attr "\n") ""))))
|
||||||
protocol)
|
|
||||||
(cond
|
(cond
|
||||||
|
;; Link type is handled by a special function.
|
||||||
|
((org-export-custom-protocol-maybe link desc info))
|
||||||
;; Image file.
|
;; Image file.
|
||||||
((and (plist-get info :rst-inline-images)
|
((and (plist-get info :rst-inline-images)
|
||||||
(org-export-inline-image-p
|
(org-export-inline-image-p
|
||||||
|
|||||||
Reference in New Issue
Block a user