mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-25 07:27:57 +00:00
ox-texinfo: Fix blank lines between in items
* lisp/ox-texinfo.el (org-texinfo-item): Fix blank lines between items.
This commit is contained in:
parent
0d6c95699b
commit
70fce0270f
@ -1125,10 +1125,10 @@ contextual information."
|
||||
"Transcode an ITEM element from Org to Texinfo.
|
||||
CONTENTS holds the contents of the item. INFO is a plist holding
|
||||
contextual information."
|
||||
(let* ((tag (org-element-property :tag item))
|
||||
(desc (org-export-data tag info)))
|
||||
(concat "\n@item " (if tag desc) "\n"
|
||||
(and contents (org-trim contents)) "\n")))
|
||||
(format "@item%s\n%s"
|
||||
(let ((tag (org-element-property :tag item)))
|
||||
(if tag (concat " " (org-export-data tag info)) ""))
|
||||
(or contents "")))
|
||||
|
||||
;;;; Keyword
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user