summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJambunathan K <kjambunathan@gmail.com>2011-11-14 01:49:15 +0530
committerJambunathan K <kjambunathan@gmail.com>2011-11-14 02:00:56 +0530
commit9edb523bdd65c8ac613d57ad8ff718da88b88cae (patch)
tree0698599aece2671e8839f1a65d7aa09c599efee5
parent457375be285c302aaffb4579868eb75f93d79d5d (diff)
downloadorg-mode-9edb523bdd65c8ac613d57ad8ff718da88b88cae.tar.gz
org-xhtml.el: Merge commit 2f50b1
-rw-r--r--contrib/lisp/org-xhtml.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/lisp/org-xhtml.el b/contrib/lisp/org-xhtml.el
index 1e695f1..40ef571 100644
--- a/contrib/lisp/org-xhtml.el
+++ b/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)