From 86588d65013edcb2614c715551eecaaba35d2a3a Mon Sep 17 00:00:00 2001 From: Rasmus Date: Mon, 12 Jan 2015 12:00:49 +0100 Subject: [PATCH] ox-html.el: Fix bug introduced in 077a24b * ox-html.el (org-html-format-list-item): Check that contents in non-nil. --- lisp/ox-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index db8ee8be1..5d229f804 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2524,7 +2524,7 @@ INFO is a plist holding contextual information. See class (concat checkbox term)) "
")))) (unless (eq type 'descriptive) checkbox) - (org-trim contents) + (and contents (org-trim contents)) (case type (ordered "") (unordered "") -- 2.11.4.GIT