emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals-release/org 105dedd0d9: ox-html: Fix exporting inlineta


From: ELPA Syncer
Subject: [elpa] externals-release/org 105dedd0d9: ox-html: Fix exporting inlinetasks without contents
Date: Sat, 4 May 2024 09:58:30 -0400 (EDT)

branch: externals-release/org
commit 105dedd0d959121632ca99e52922d3c825e5bcb8
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    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 083d67101e..f0c7e938ae 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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]