On Mon, 27 Feb 2017, dmg wrote: > On Sun, Feb 26, 2017 at 11:40 PM, Nicolas Goaziou > wrote: > >> >> A star at the beginning of a line is always a headline. [...] > > ​Thank you. I guess the issue is then with org-babel. > > I am running a babel script that generates, as one of its line * in the > front: > > ​#+BEGIN_SRC sh > echo "* Hello" > #+END_SRC > > #+RESULTS: > #+begin_example > * Hello > #+end_example > > ​In that case, should babel be the one escaping the * in the RESULTS block? Is that *really* what it did? When I run your example, I get: #+RESULTS: : * Hello and this exports (with the `:exports results' header) to html wrapped in a
 container:

* Hello
using Org 9.0.5. Without that header the src code gets wrapped in a
 container.

So there must be something in/about your setup you haven't mentioned.

HTH,

Chuck