ox-html.el: Fix bug introduced in 077a24b

* ox-html.el (org-html-format-list-item): Check that contents in
  non-nil.
This commit is contained in:
Rasmus 2015-01-12 12:00:49 +01:00
parent b07e2f6ff1
commit 86588d6501
1 changed files with 1 additions and 1 deletions

View File

@ -2524,7 +2524,7 @@ INFO is a plist holding contextual information. See
class (concat checkbox term))
"<dd>"))))
(unless (eq type 'descriptive) checkbox)
(org-trim contents)
(and contents (org-trim contents))
(case type
(ordered "</li>")
(unordered "</li>")