Add line break for image/figure directive

This commit is contained in:
IGARASHI Masanao
2014-11-16 09:47:07 +09:00
parent de95b71ae2
commit eb6c6563b4

View File

@@ -1038,9 +1038,9 @@ INFO is a plist holding contextual information."
(expand-file-name raw-path)))
(caption (org-export-get-caption
(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))
(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
;; description.
((string= type "radio")