mirror of https://github.com/djcb/mu.git
Merge pull request #566 from cpbotha/fix-org-html-in-text-part
mu4e: Fix org-mu4e bug with HTML in text/plain part
This commit is contained in:
commit
9c98a7ab21
|
@ -196,7 +196,6 @@ and images in a multipart/related part."
|
|||
(raw-body (buffer-substring begin end))
|
||||
(tmp-file (make-temp-name (expand-file-name "mail"
|
||||
temporary-file-directory)))
|
||||
(body (org-export-string-as raw-body 'html t))
|
||||
;; because we probably don't want to skip part of our mail
|
||||
(org-export-skip-text-before-1st-heading nil)
|
||||
;; because we probably don't want to export a huge style file
|
||||
|
@ -217,7 +216,7 @@ and images in a multipart/related part."
|
|||
(goto-char begin)
|
||||
(newline)
|
||||
(insert (org~mu4e-mime-multipart
|
||||
body html (mapconcat 'identity html-images "\n"))))))
|
||||
raw-body html (mapconcat 'identity html-images "\n"))))))
|
||||
|
||||
;; next some functions to make the org/mu4e-compose-mode switch as smooth as
|
||||
;; possible.
|
||||
|
|
Loading…
Reference in New Issue