emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien Guerry <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: [Accepted] * org-html.el (org-html-handle-links): add an alternate for inline images
Date: Tue, 19 Apr 2011 11:22:30 +0200 (CEST)	[thread overview]
Message-ID: <20110419092230.56A2D63C9@myhost.localdomain> (raw)
In-Reply-To: 1303202089-27231-1-git-send-email-manuel.giraud@univ-nantes.fr

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 <manuel.giraud@univ-nantes.fr>
> X-Patchwork-Id: 752
> Message-Id: <1303202089-27231-1-git-send-email-manuel.giraud@univ-nantes.fr>
> To: emacs-orgmode@gnu.org
> Cc: Manuel Giraud <manuel.giraud@univ-nantes.fr>
> 
> ---
>  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")
> 

  parent reply	other threads:[~2011-04-19  9:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-19  8:34 [PATCH] * org-html.el (org-html-handle-links): add an alternate for inline images Manuel Giraud
2011-04-19  8:48 ` Jambunathan K
2011-04-19  9:12   ` Manuel Giraud
2011-04-19  9:22 ` Bastien Guerry [this message]
2011-04-19  9:22 ` Bastien
2011-04-19 21:08   ` Aankhen
2011-04-20  8:09     ` Manuel Giraud
2011-04-20  9:10       ` Aankhen
2011-04-20  9:41         ` Manuel Giraud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110419092230.56A2D63C9@myhost.localdomain \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).