From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: extra paragraph in image export? Date: Wed, 25 Jan 2017 14:13:09 +0100 Message-ID: <877f5jcmfu.fsf@nicolasgoaziou.fr> References: <87lgu3b5c8.fsf@nicolasgoaziou.fr> <87sho8ztgv.fsf@gmx.us> <87fuk86tdg.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWNO2-0006Xj-49 for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 08:13:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWNO1-0003kb-7s for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 08:13:18 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:56088) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cWNO1-0003jU-2H for emacs-orgmode@gnu.org; Wed, 25 Jan 2017 08:13:17 -0500 In-Reply-To: (Matt Price's message of "Tue, 24 Jan 2017 23:04:48 -0500") 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" To: Matt Price Cc: Org Mode , Rasmus Hello, Matt Price writes: > I'm not sure. Doesn't look like it to me -- I would instead have put: > > - (format "\n

%s

" contents) > + (format "\n%s" contents) > > Because we never want the

tag inside the figure. Isn't that right? I don't think so. When `org-html-html5-fancy' is non-nil, "ox-html.el" uses

tags to separate image and caption. Moreover, there is no

in that case, but a
. Can't this contain a

block element? Regards, -- Nicolas Goaziou