From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: [Bug] body-only Export Option Adds Extra html Tags. Date: Tue, 08 Mar 2011 11:59:37 +0000 Message-ID: <4D761A29.4030004@manor-farm.org> References: <4D751FA6.2000703@manor-farm.org> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=43502 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwvZk-0006Ak-Sk for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 06:59:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwvZk-0002aP-1I for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 06:59:40 -0500 Received: from mail.ian-barton.com ([109.74.196.44]:43196 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwvZj-0002a7-RQ for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 06:59:39 -0500 Received: from localhost (mail.wilkesley.org [127.0.0.1]) by li40-130.members.linode.com (Postfix) with ESMTP id 673CEA05E for ; Tue, 8 Mar 2011 11:59:38 +0000 (UTC) Received: from li40-130.members.linode.com ([127.0.0.1]) by localhost (mail.manor-farm.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2m02L28wv65x for ; Tue, 8 Mar 2011 11:59:38 +0000 (UTC) Received: from mail.wilkesley.net (unknown [217.146.125.41]) by li40-130.members.linode.com (Postfix) with ESMTP id 2C52BA055 for ; Tue, 8 Mar 2011 11:59:38 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.wilkesley.net (Postfix) with ESMTP id 3C26911E1C for ; Tue, 8 Mar 2011 12:03:21 +0000 (GMT) Received: from mail.wilkesley.net ([127.0.0.1]) by localhost (mail.bantercat.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oZlNM3c2a8xw for ; Tue, 8 Mar 2011 12:03:21 +0000 (GMT) Received: from [192.168.0.133] (scamper.bantercat.co.uk [192.168.0.133]) by mail.wilkesley.net (Postfix) with ESMTPSA id 10E9911E0D for ; Tue, 8 Mar 2011 12:03:21 +0000 (GMT) In-Reply-To: <4D751FA6.2000703@manor-farm.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 07/03/11 18:10, Ian Barton wrote: > If I export body-only in my publishing options and publish a file that > looks like: > > #+TITLE: Index for Cycling Pages. > #+STARTUP: showall indent > #+STARTUP: hidestars > #+BEGIN_HTML > --- > layout: cycling > title: Cycling. > excerpt: Page about cycling. > --- > #+END_HTML > > Some text > > The resulting html looks like: > >

> Some text

> > > > > Note the extra html tags after my text. Not sure exactly when this > started happening, my git bisect skills haven't managed to identify it. > Managed to get git bisect to work for me. The last sha where I get git bisect good is: f9c833dad015b7847f659e06bac8690b9d7d3794 deprecating begin_dot and begin_ditaa blocks. So it looks like SHA: da8dc7bba72613131f97a28f1c4a912b8d85d7cc Rewrite the handling of HTML preamble/postamble caused the problem. Ian.