Add line break for image/figure directive
This commit is contained in:
@@ -1038,9 +1038,9 @@ INFO is a plist holding contextual information."
|
|||||||
(expand-file-name raw-path)))
|
(expand-file-name raw-path)))
|
||||||
(caption (org-export-get-caption
|
(caption (org-export-get-caption
|
||||||
(org-export-get-parent-element link))))
|
(org-export-get-parent-element link))))
|
||||||
(if caption (format ".. figure:: %s%s\n %s" ipath attributes
|
(if caption (format ".. figure:: %s%s\n %s\n" ipath attributes
|
||||||
(org-export-data caption info))
|
(org-export-data caption info))
|
||||||
(format ".. image:: %s%s" ipath attributes))))
|
(format ".. image:: %s%s\n" ipath attributes))))
|
||||||
;; Radio link: Transcode target's contents and use them as link's
|
;; Radio link: Transcode target's contents and use them as link's
|
||||||
;; description.
|
;; description.
|
||||||
((string= type "radio")
|
((string= type "radio")
|
||||||
|
|||||||
Reference in New Issue
Block a user