From mboxrd@z Thu Jan 1 00:00:00 1970 From: Omid Subject: Org mode export to HTML not working correctly with code blocks if block is after an item (-) and its delimiters are indented Date: Tue, 15 Oct 2013 21:19:18 -0400 Message-ID: <525DE996.2000408@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWFlq-0000NC-RI for emacs-orgmode@gnu.org; Tue, 15 Oct 2013 21:19:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWFli-0005Z9-CM for emacs-orgmode@gnu.org; Tue, 15 Oct 2013 21:19:30 -0400 Received: from mail-yh0-x235.google.com ([2607:f8b0:4002:c01::235]:57446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWFli-0005Z3-80 for emacs-orgmode@gnu.org; Tue, 15 Oct 2013 21:19:22 -0400 Received: by mail-yh0-f53.google.com with SMTP id z20so18426yhz.26 for ; Tue, 15 Oct 2013 18:19:21 -0700 (PDT) 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: emacs-orgmode@gnu.org Hello All, 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? Thanks, -- Omid Sent from my Emacs