Parcourir la source

Fix invalid <img> tag.

Carsten Dominik il y a 16 ans
Parent
commit
db2485cb41
2 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 3 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-exp.el

+ 3 - 0
lisp/ChangeLog

@@ -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>

+ 1 - 1
lisp/org-exp.el

@@ -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