From 64c4c9c5f1347f7b9f0c269ec9c75a48e6527fe1 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Wed, 21 Jul 2010 16:04:33 +0200 Subject: [PATCH] HTML export: Fix inlining images * lisp/org-html.el (org-html-should-inline-p): Only inline images if they should be. --- lisp/org-html.el | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 04ee80b62..62ea9e182 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -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 -- 2.11.4.GIT