[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] * org-html.el (org-html-handle-links): add an alternate for
From: |
Manuel Giraud |
Subject: |
[O] [PATCH] * org-html.el (org-html-handle-links): add an alternate for inline images |
Date: |
Tue, 19 Apr 2011 10:34:49 +0200 |
---
lisp/org-html.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/lisp/org-html.el b/lisp/org-html.el
index 5d53478..7a4564d 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -888,7 +888,8 @@ OPT-PLIST is the export options list."
(if (string-match "^file:" desc)
(setq desc (substring desc (match-end 0)))))
(setq desc (org-add-props
- (concat "<img src=\"" desc "\"/>")
+ (concat "<img src=\"" desc "\" alt=\""
+ (file-name-nondirectory desc) "\"/>")
'(org-protected t))))
(cond
((equal type "internal")
--
1.7.3.5
- [O] [PATCH] * org-html.el (org-html-handle-links): add an alternate for inline images,
Manuel Giraud <=