Add an newline before a caption line in a figure directive. fix #6
This commit is contained in:
@@ -1079,7 +1079,7 @@ 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\n" ipath attributes
|
||||
(if caption (format ".. figure:: %s%s\n\n %s\n" ipath attributes
|
||||
(org-export-data caption info))
|
||||
(format ".. image:: %s%s\n" ipath attributes))))
|
||||
((and (plist-get info :rst-inline-images)
|
||||
|
||||
Reference in New Issue
Block a user