From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Literal HTML export and paragraphs Date: Mon, 29 Mar 2010 11:51:11 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NwD95-0007X1-QC for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 07:28:39 -0400 Received: from [140.186.70.92] (port=52131 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NwD94-0007Vs-LX for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 07:28:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NwD93-0001OG-Ay for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 07:28:38 -0400 Received: from mail-ew0-f223.google.com ([209.85.219.223]:60326) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwD93-0001O6-6D for emacs-orgmode@gnu.org; Mon, 29 Mar 2010 07:28:37 -0400 Received: by ewy23 with SMTP id 23so2203126ewy.14 for ; Mon, 29 Mar 2010 04:28:36 -0700 (PDT) In-Reply-To: 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: Ulf Stegemann Cc: emacs-orgmode@gnu.org Hi Ulf, On Feb 23, 2010, at 1:58 PM, Ulf Stegemann wrote: > Hi, > > not quite sure if that's a bug but I've just noticed that literal HTML > export with `#+HTML' or `#+BEGIN_HTML ...' suppresses paragraph > markups > whenever literal export appears at the end of a paragraph. An org > file > like this > > ,---- > | line 1 > | line 2 > | > | line 3 > `---- > > is exported to > > ,---- > |

> | line 1 > | line 2 > |

> |

> | line 3 > |

> `---- > > while an org file like this > > ,---- > | line 1 > | #+HTML: line 2 > | > | line 3 > `---- > > is exported to > > ,---- > |

> | line 1 > | line 2 > | > | line 3 > |

> `---- > > This is probably not a major thing but it may lead to invalid HTML > code. > Suppose `line 3' is replaced by e.g. an example block (which inserts > its > own p element) then a p element would appear inside another p element > which is not allowed. I think your observation is correct. However, it is very tricky to get this right, and I don't have the time to look into this now. - Carsten