diff --git a/lisp/org-html.el b/lisp/org-html.el index 0e06919..a9adf30 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -1505,17 +1505,22 @@ lang=\"%s\" xml:lang=\"%s\"> (let* ((caption (org-find-text-property-in-string 'org-caption src)) (attr (org-find-text-property-in-string 'org-attributes src)) (label (org-find-text-property-in-string 'org-label src))) - (format "%s
" + (if org-par-open "
\n" "") + (if label (format "id=\"%s\" " label) ""))) + (format "" src (if (string-match "\\" "")))))) + (concat " " attr " alt=\"" src "\""))) + (if caption + (format "
%s +" caption "
") + (if org-par-open "\n" "")))))))) (defun org-export-html-get-bibliography () "Find bibliography, cut it out and return it."