From mboxrd@z Thu Jan 1 00:00:00 1970 From: amscopub-mail@yahoo.com Subject: Bug: HTML blocks in macros called before lists break in 7.5 Date: Fri, 22 Apr 2011 14:26:59 -0700 (PDT) Message-ID: <85190.83692.qm@web120708.mail.ne1.yahoo.com> Reply-To: amscopub-mail@yahoo.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDNsU-0003fI-PQ for emacs-orgmode@gnu.org; Fri, 22 Apr 2011 17:27:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QDNsT-00088J-Tp for emacs-orgmode@gnu.org; Fri, 22 Apr 2011 17:27:02 -0400 Received: from nm8.bullet.mail.ne1.yahoo.com ([98.138.90.71]:38536) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QDNsT-00088D-Li for emacs-orgmode@gnu.org; Fri, 22 Apr 2011 17:27:01 -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: emacs-orgmode@gnu.org Sample code: ------------- #+MACRO: start #+BEGIN_HTML\n \n#+END_HTML #+MACRO: end #+BEGIN_HTML\n \n#+END_HTML * Hello world {{{start}}} 1. Item 1 {{{end}}} ------------------------------- Expected HTML export (valid HTML): ----------------------------------
  1. Item 1
----------------------------------- Actual HTML export (invalid HTML): -----------------------------------
  1. Item 1
OK, so the example is a bit contrived. But that's basically the technique that I use to style lists. (It may not be the best but for complex START/END macros, using HTML blocks is the way to go.) Anyway, the above code worked fine in 7.4. Then I upgraded to 7.5 and I now have literally hundreds of these broken lists. Ideas? Where would the offending org code be?