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
b2cf362812
commit
64c4c9c5f1
|
@ -579,13 +579,10 @@ description. See variables `org-export-html-inline-images' and
|
||||||
(declare (special
|
(declare (special
|
||||||
org-export-html-inline-images
|
org-export-html-inline-images
|
||||||
org-export-html-inline-image-extensions))
|
org-export-html-inline-image-extensions))
|
||||||
(or
|
(and (or (eq t org-export-html-inline-images)
|
||||||
(eq t org-export-html-inline-images)
|
(and org-export-html-inline-images (not descp)))
|
||||||
(and
|
(org-file-image-p
|
||||||
org-export-html-inline-images
|
filename org-export-html-inline-image-extensions)))
|
||||||
(not descp)))
|
|
||||||
(org-file-image-p
|
|
||||||
filename org-export-html-inline-image-extensions))
|
|
||||||
|
|
||||||
;;; org-html-make-link
|
;;; org-html-make-link
|
||||||
(defun org-html-make-link (opt-plist type path fragment desc attr
|
(defun org-html-make-link (opt-plist type path fragment desc attr
|
||||||
|
|
Loading…
Reference in New Issue