From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Org mode export to HTML not working correctly with code blocks if block is after an item (-) and its delimiters are indented Date: Wed, 16 Oct 2013 13:25:23 +0200 Message-ID: <874n8h790c.fsf@gmail.com> References: <525DE996.2000408@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWPE6-0003kL-NJ for emacs-orgmode@gnu.org; Wed, 16 Oct 2013 07:25:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWPDw-0001bi-WD for emacs-orgmode@gnu.org; Wed, 16 Oct 2013 07:25:18 -0400 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:56721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWPDw-0001bG-Pm for emacs-orgmode@gnu.org; Wed, 16 Oct 2013 07:25:08 -0400 Received: by mail-we0-f179.google.com with SMTP id w61so527666wes.38 for ; Wed, 16 Oct 2013 04:25:07 -0700 (PDT) In-Reply-To: <525DE996.2000408@gmail.com> (Omid's message of "Tue, 15 Oct 2013 21:19:18 -0400") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Omid Cc: emacs-orgmode@gnu.org Hello, Omid writes: > When exporting to HTML (Org mode version 8.2.1 ELPA; GNU Emacs version > 24.3.1) I see the a strange behavior which can be reproduced with the > following minimal example: > > This exports correctly > #+BEGIN_SRC sh > ls > #+END_SRC > > - This also exports correctly > #+BEGIN_SRC sh > ls > #+END_SRC > > - This does NOT export correctly (code block is not detected) > #+BEGIN_SRC sh > ls > #+END_SRC > > Is there any way around this behavior without removing the indentation > for the code block delimiters? This should now be fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou