فهرست منبع

org-xhtml.el: Merge commit 2f50b1

Jambunathan K 14 سال پیش
والد
کامیت
9edb523bdd
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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)