forked from mirrors/org-mode
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 "[ ] "))
|
(off "[ ] "))
|
||||||
(let ((tag (org-element-property :tag item)))
|
(let ((tag (org-element-property :tag item)))
|
||||||
(and tag (format "**%s:** "(org-export-data tag info))))
|
(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
|
;;;; Line Break
|
||||||
|
|
Loading…
Reference in New Issue