From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Alama Subject: Re: Re: HTML export problems Date: Sat, 23 Aug 2008 15:22:42 -0700 Message-ID: References: <1219519648.27880.3.camel@pod.lab> <1219527413.28696.2.camel@pod.lab> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KX1Ve-0007wF-GZ for emacs-orgmode@gnu.org; Sat, 23 Aug 2008 18:23:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KX1Vb-0007vV-L6 for emacs-orgmode@gnu.org; Sat, 23 Aug 2008 18:23:02 -0400 Received: from [199.232.76.173] (port=52689 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KX1Vb-0007vS-Fm for emacs-orgmode@gnu.org; Sat, 23 Aug 2008 18:22:59 -0400 In-Reply-To: <1219527413.28696.2.camel@pod.lab> (David O'Toole's message of "Sat, 23 Aug 2008 17:36:53 -0400") 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: David O'Toole Cc: emacs-orgmode@gnu.org I'm on your side: I agree that it's a bug either in org-mode or the XHTML 1.0 Transitional specification (if not both). I imagine it's straightforward to fix the problem. I mentioned standards because I came across this problem in another context (not related to org-mode) . I was working with some web pages that were valid XHTML 1.0 Transitional documents, but transformation of them to another format proved to be problematic for the same reason that you mention. David O'Toole writes: > Specification conformance is beside the point, it is still a bug. We are > unable to properly style this first paragraph because it has no P tag, > and therefore the styles that apply to the P tag in our css don't work. > > On Sat, 2008-08-23 at 13:17 -0700, Jesse Alama wrote: >> David O'Toole writes: >> >> > The first paragraph before any heading is exported, but without >> > surrounding P paragraph tags; the remaining paragraphs (whether before >> > other headings, or after those headings) all have P tags and this is >> > messing up the styling. I'm using org-version 6.06b. >> > >> > #+OPTIONS skip:nil is on. >> >> Perhaps surprisingly, that is valid XHTML 1.0 Transitional: >> >>

Big Header

>> >> Blah, blah. >> >>

A paragraph unlike the previous one.

>> >> I think that is malformed according to XHTML 1.1. >> >> Jesse >> > > -- Jesse Alama (alama@stanford.edu)