emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: amscopub-mail@yahoo.com
To: emacs-orgmode@gnu.org
Subject: Bug: HTML blocks in macros called before lists break in 7.5
Date: Fri, 22 Apr 2011 14:26:59 -0700 (PDT)	[thread overview]
Message-ID: <85190.83692.qm@web120708.mail.ne1.yahoo.com> (raw)

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?

             reply	other threads:[~2011-04-22 21:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-22 21:26 amscopub-mail [this message]
2011-04-24 17:44 ` Bug: HTML blocks in macros called before lists break in 7.5 Nicolas Goaziou
2011-04-29 19:21   ` U Avalos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85190.83692.qm@web120708.mail.ne1.yahoo.com \
    --to=amscopub-mail@yahoo.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).