retain disposition=inline change for images in html mail
* contrib/lisp/org-mime.el (org-mime-file): Retain disposition=inline change for images in html mail.
This commit is contained in:
parent
3f810ad424
commit
e307d08382
|
@ -132,13 +132,13 @@ exported html."
|
|||
(defun org-mime-file (ext path id)
|
||||
"Markup a file for attachment."
|
||||
(case org-mime-library
|
||||
('mml (format
|
||||
"<#part type=\"%s\" filename=\"%s\" id=\"<%s>\">\n<#/part>\n"
|
||||
ext path id))
|
||||
('mml (format (concat "<#part type=\"%s\" filename=\"%s\" "
|
||||
"disposition=inline id=\"<%s>\">\n<#/part>\n")
|
||||
ext path id))
|
||||
('semi (concat
|
||||
(format
|
||||
"--[[%s\nContent-Disposition: inline;\nContent-ID: <%s>][base64]]\n"
|
||||
ext id)
|
||||
(format (concat "--[[%s\nContent-Disposition: "
|
||||
"inline;\nContent-ID: <%s>][base64]]\n")
|
||||
ext id)
|
||||
(base64-encode-string
|
||||
(with-temp-buffer
|
||||
(set-buffer-multibyte nil)
|
||||
|
|
Loading…
Reference in New Issue