diff --git a/lisp/org-html.el b/lisp/org-html.el index 6651fd3b2..d9f34ef82 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -1801,7 +1801,7 @@ lang=\"%s\" xml:lang=\"%s\"> "Create image tag with source and attributes." (save-match-data (if (string-match "^ltxpng/" src) - (format "" + (format "@" src (org-find-text-property-in-string 'org-latex-src src)) (let* ((caption (org-find-text-property-in-string 'org-caption src)) (attr (org-find-text-property-in-string 'org-attributes src)) @@ -1809,20 +1809,20 @@ lang=\"%s\" xml:lang=\"%s\"> (setq caption (and caption (org-html-do-expand caption))) (concat (if caption - (format "%s
" - (if org-par-open "
\n" "") + (if org-par-open "@\n" "") (if label (format "id=\"%s\" " (org-solidify-link-text label)) ""))) - (format "" + (format "@" src (if (string-match "\\" caption "
") - (if org-par-open "\n" "")))))))) + (format "@
%s +@" caption "@
") + (if org-par-open "\n@" "")))))))) (defun org-export-html-get-bibliography () "Find bibliography, cut it out and return it."