mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-20 21:18:34 +00:00
HTML export: Fix inlining images
* lisp/org-html.el (org-html-should-inline-p): Only inline images if they should be.
This commit is contained in:
parent
2c31a3b00a
commit
682b275615
|
@ -579,13 +579,10 @@ description. See variables `org-export-html-inline-images' and
|
|||
(declare (special
|
||||
org-export-html-inline-images
|
||||
org-export-html-inline-image-extensions))
|
||||
(or
|
||||
(eq t org-export-html-inline-images)
|
||||
(and
|
||||
org-export-html-inline-images
|
||||
(not descp)))
|
||||
(org-file-image-p
|
||||
filename org-export-html-inline-image-extensions))
|
||||
(and (or (eq t org-export-html-inline-images)
|
||||
(and org-export-html-inline-images (not descp)))
|
||||
(org-file-image-p
|
||||
filename org-export-html-inline-image-extensions)))
|
||||
|
||||
;;; org-html-make-link
|
||||
(defun org-html-make-link (opt-plist type path fragment desc attr
|
||||
|
|
Loading…
Reference in a new issue