mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-26 10:49:38 +00:00
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.
This commit is contained in:
parent
b5a8538232
commit
8091854eaf
@ -1226,8 +1226,8 @@ When STANDALONE-P is t, wrap the <img.../> into a <div>...</div>."
|
||||
(let ((img (format "<img src=\"%s\" %s/>" src attr)))
|
||||
(format "\n<div%s class=\"figure\">%s%s\n</div>"
|
||||
id (format "\n<p>%s</p>" img)
|
||||
(when (and caption (not (string= caption "")))
|
||||
(format "\n<p>%s</p>" caption)))))
|
||||
(if (and caption (not (string= caption "")))
|
||||
(format "\n<p>%s</p>" caption) ""))))
|
||||
(t (format "<img src=\"%s\" %s/>" src (concat attr id))))))
|
||||
|
||||
(defun org-html--textarea-block (element)
|
||||
|
Loading…
Reference in New Issue
Block a user