Ver código fonte

org-xhtml.el: Merge commit 2f50b1

Jambunathan K 14 anos atrás
pai
commit
9edb523bdd
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      contrib/lisp/org-xhtml.el

+ 2 - 2
contrib/lisp/org-xhtml.el

@@ -816,8 +816,8 @@ ATTR is a string of other attributes of the \"a\" element."
 
 (defun org-xhtml-format-inline-image (desc)
   ;; FIXME: alt text missing here?
-  (org-xhtml-format-tags "<img src=\"%s\" alt=\"\"/>" "" desc))
-
+  (org-xhtml-format-tags
+   "<img src=\"%s\" alt=\"%s\"/>" "" desc (file-name-nondirectory desc)))
 
 ;; FIXME: the org-lparse defvar belongs to org-lparse.el
 (defvar org-lparse-link-description-is-image)