Fix missing whitespaces in exported paragraphs.

This commit is contained in:
Scott Wang 2016-03-23 21:03:36 +08:00
parent 52ce1bb0b6
commit 3c4c213283

View File

@ -74,7 +74,7 @@
CONTENTS is the paragraph contents. INFO is a plist used as a
communication channel."
(let ((contents
(concat (replace-regexp-in-string "\\\n" "" contents nil t)
(concat (mapconcat 'identity (split-string contents) " ")
"\n")))
(let ((first-object (car (org-element-contents paragraph))))
;; If paragraph starts with a #, protect it.