mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 19:37:52 +00:00
ox-md: Prevent error with empty items
* lisp/ox-md.el (org-md-item): Do not return an error when exporting an empty item.
This commit is contained in:
parent
884faddd57
commit
ba4852ec74
|
@ -244,7 +244,8 @@ a communication channel."
|
|||
(off "[ ] "))
|
||||
(let ((tag (org-element-property :tag item)))
|
||||
(and tag (format "**%s:** "(org-export-data tag info))))
|
||||
(org-trim (replace-regexp-in-string "^" " " contents)))))
|
||||
(and contents
|
||||
(org-trim (replace-regexp-in-string "^" " " contents))))))
|
||||
|
||||
|
||||
;;;; Line Break
|
||||
|
|
Loading…
Reference in a new issue