emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [Accepted] * org-html.el (org-html-handle-links): add an alternate f


From: Bastien Guerry
Subject: [O] [Accepted] * org-html.el (org-html-handle-links): add an alternate for inline images
Date: Tue, 19 Apr 2011 11:22:30 +0200 (CEST)

Patch 752 (http://patchwork.newartisans.com/patch/752/) is now "Accepted".

Maintainer comment: none

This relates to the following submission:

http://mid.gmane.org/%3C1303202089-27231-1-git-send-email-manuel.giraud%40univ-nantes.fr%3E

Here is the original message containing the patch:

> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: [O] * org-html.el (org-html-handle-links): add an alternate for
>       inline images
> Date: Tue, 19 Apr 2011 13:34:49 -0000
> From: Manuel Giraud <address@hidden>
> X-Patchwork-Id: 752
> Message-Id: <address@hidden>
> To: address@hidden
> Cc: Manuel Giraud <address@hidden>
> 
> ---
>  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")
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]