From 105dedd0d959121632ca99e52922d3c825e5bcb8 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 083d67101..f0c7e938a 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2868,7 +2868,7 @@ See `org-html-format-inlinetask-function' for details." (org-html-format-headline-default-function todo todo-type priority text tags info) (org-html-close-tag "br" nil info) - contents)) + (or contents ""))) ;;;; Italic