org-e-latex: Fix bug when exporting empty items

* contrib/lisp/org-e-latex.el (org-e-latex-item): Fix bug when
  exporting empty items.
This commit is contained in:
Nicolas Goaziou 2012-08-22 16:55:18 +02:00
parent d1f36ea313
commit cd9ce4b914
1 changed files with 1 additions and 1 deletions

View File

@ -1590,7 +1590,7 @@ contextual information."
(concat checkbox
(org-export-data tag info)))))))
(concat counter "\\item" (or tag (concat " " checkbox))
(org-trim contents)
(and contents (org-trim contents))
;; If there are footnotes references in tag, be sure to
;; add their definition at the end of the item. This
;; workaround is necessary since "\footnote{}" command is