1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

Fix invalid <img> tag.

This commit is contained in:
Carsten Dominik 2008-12-19 12:38:17 +01:00
parent 952c6b9901
commit db2485cb41
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2008-12-19 Carsten Dominik <carsten.dominik@gmail.com>
* org-exp.el (org-export-html-format-image): Add the / to the end
of the <img> tag.
* org.el (org-ido-switchb): New function.
2008-12-18 Carsten Dominik <carsten.dominik@gmail.com>

View File

@ -3716,7 +3716,7 @@ lang=\"%s\" xml:lang=\"%s\">
(attr (org-find-text-property-in-string 'org-attributes src))
(label (org-find-text-property-in-string 'org-label src)))
(format "<div %sclass=\"figure\">
<p><img src=\"%s\"%s></p>%s
<p><img src=\"%s\"%s /></p>%s
</div>"
(if label (format "id=\"%s\" " label) "")
src