lisp/ox-texinfo.el: Fix parsing of list entries without content

* lisp/ox-texinfo.el (org-texinfo-item): Check for contents before
  trimming whitespace from it.
This commit is contained in:
Jonathan Leech-Pepin 2013-03-10 16:38:26 -04:00
parent 3e10bab25a
commit 731428e7a5
1 changed files with 1 additions and 1 deletions

View File

@ -1142,7 +1142,7 @@ contextual information."
(let* ((tag (org-element-property :tag item))
(desc (org-export-data tag info)))
(concat "\n@item " (if tag desc) "\n"
(org-trim contents) "\n")))
(and contents (org-trim contents)) "\n")))
;;; Keyword