Nicolas Goaziou <n.goaz...@gmail.com> writes: >> >> Bug or confusion on my part? > > It's an over-zealous `org-babel-remove-result' function, which removes > both newline character before and after the block. > > Try calling `org-export-execute-babel-code' from your buffer. It will > give you > > #+BEGIN_HTML#+END_HTML > > instead of > > #+BEGIN_HTML > #+END_HTML > > Cc'ing Eric for is insight. > >
Thanks! So the easy workaround is to add an extra newline before the end line, so org-babel-remove-result will have something extra to munch on :-) -- Nick