From 8091854eaffa90a2faf9d7db8bb0f4c6c5edb7c3 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Wed, 13 Mar 2013 09:48:53 +0100 Subject: [PATCH] ox-html.el (org-html-format-inline-image): Fix missing string in formatting string * ox-html.el (org-html-format-inline-image): Fix missing string in formatting string. Thanks to Richard Stanton for reporting this. --- lisp/ox-html.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index d29207375..293aec38f 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -1226,8 +1226,8 @@ When STANDALONE-P is t, wrap the into a
...
." (let ((img (format "" src attr))) (format "\n%s%s\n" id (format "\n

%s

" img) - (when (and caption (not (string= caption ""))) - (format "\n

%s

" caption))))) + (if (and caption (not (string= caption ""))) + (format "\n

%s

" caption) "")))) (t (format "" src (concat attr id)))))) (defun org-html--textarea-block (element) -- 2.11.4.GIT