From 0d24857ccf60db6f89ba9b48089f4b1ffab1f927 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 4 May 2024 13:37:46 +0300 Subject: [PATCH] ox-html: Fix exporting inlinetasks without contents * lisp/ox-html.el (org-html-format-inlinetask-default-function): Do not export no-contents as string "nil". Just use empty string. --- 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 b35a31865..503028945 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2921,7 +2921,7 @@ INFO arguments." (org-html-format-headline-default-function todo todo-type priority text tags info) (org-html-close-tag "br" nil info) - contents)) + (or contents ""))) ;;;; Italic