From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulf Stegemann Subject: Literal HTML export and paragraphs Date: Tue, 23 Feb 2010 13:58:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjuLb-0008Pm-Mf for emacs-orgmode@gnu.org; Tue, 23 Feb 2010 07:58:43 -0500 Received: from [140.186.70.92] (port=60328 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjuLa-0008PG-Ou for emacs-orgmode@gnu.org; Tue, 23 Feb 2010 07:58:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjuLa-0007h4-8l for emacs-orgmode@gnu.org; Tue, 23 Feb 2010 07:58:42 -0500 Received: from lo.gmane.org ([80.91.229.12]:56278) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjuLa-0007gw-33 for emacs-orgmode@gnu.org; Tue, 23 Feb 2010 07:58:42 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NjuLS-0006hP-Ul for emacs-orgmode@gnu.org; Tue, 23 Feb 2010 13:58:34 +0100 Received: from 146.140.213.100 ([146.140.213.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2010 13:58:34 +0100 Received: from ulf-news by 146.140.213.100 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2010 13:58:34 +0100 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 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. Ulf