mirror of
https://github.com/larstvei/ox-gfm.git
synced 2024-11-26 01:28:30 +00:00
Merge pull request #8 from scottoasis/master
Fix missing whitespaces in exported paragraphs.
This commit is contained in:
commit
4889adc219
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user