emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: HTML blocks in macros called before lists break in 7.5
@ 2011-04-22 21:26 amscopub-mail
  2011-04-24 17:44 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: amscopub-mail @ 2011-04-22 21:26 UTC (permalink / raw)
  To: emacs-orgmode

Sample code:
-------------

#+MACRO: start #+BEGIN_HTML\n <mydiv> \n#+END_HTML
#+MACRO: end  #+BEGIN_HTML\n </mydiv> \n#+END_HTML

* Hello world

{{{start}}}
 1. Item 1
{{{end}}}

-------------------------------
Expected HTML export (valid HTML):
----------------------------------

<mydiv>
  <ol><li>Item 1</li></ol>
</mydiv>

-----------------------------------
Actual HTML export (invalid HTML):
-----------------------------------

<mydiv>
  <ol><li>Item 1</mydiv>
  </li></ol>

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-29 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-22 21:26 Bug: HTML blocks in macros called before lists break in 7.5 amscopub-mail
2011-04-24 17:44 ` Nicolas Goaziou
2011-04-29 19:21   ` U Avalos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).