From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] * org-html.el (org-html-handle-links): add an alternate for inline images Date: Tue, 19 Apr 2011 11:22:46 +0200 Message-ID: <87vcyah9y1.fsf@gnu.org> References: <1303202089-27231-1-git-send-email-manuel.giraud@univ-nantes.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QC78y-0005Mh-0w for emacs-orgmode@gnu.org; Tue, 19 Apr 2011 05:22:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QC78x-0002Iz-6Z for emacs-orgmode@gnu.org; Tue, 19 Apr 2011 05:22:47 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:57039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QC78w-0002Io-VQ for emacs-orgmode@gnu.org; Tue, 19 Apr 2011 05:22:47 -0400 Received: by wwb39 with SMTP id 39so5623382wwb.30 for ; Tue, 19 Apr 2011 02:22:46 -0700 (PDT) In-Reply-To: <1303202089-27231-1-git-send-email-manuel.giraud@univ-nantes.fr> (Manuel Giraud's message of "Tue, 19 Apr 2011 10:34:49 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Manuel Giraud Cc: emacs-orgmode@gnu.org Applied, thanks. Manuel Giraud writes: > --- > 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 "") > + (concat "\"" + (file-name-nondirectory desc) "\"/>") > '(org-protected t)))) > (cond > ((equal type "internal") -- Bastien