mirror of
https://github.com/larstvei/ox-gfm.git
synced 2024-11-26 09:38:31 +00:00
Fix missing whitespaces in exported paragraphs.
This commit is contained in:
parent
52ce1bb0b6
commit
3c4c213283
@ -74,7 +74,7 @@
|
|||||||
CONTENTS is the paragraph contents. INFO is a plist used as a
|
CONTENTS is the paragraph contents. INFO is a plist used as a
|
||||||
communication channel."
|
communication channel."
|
||||||
(let ((contents
|
(let ((contents
|
||||||
(concat (replace-regexp-in-string "\\\n" "" contents nil t)
|
(concat (mapconcat 'identity (split-string contents) " ")
|
||||||
"\n")))
|
"\n")))
|
||||||
(let ((first-object (car (org-element-contents paragraph))))
|
(let ((first-object (car (org-element-contents paragraph))))
|
||||||
;; If paragraph starts with a #, protect it.
|
;; If paragraph starts with a #, protect it.
|
||||||
|
Loading…
Reference in New Issue
Block a user