From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Bug report: export to HTML does not escape * in example Date: Mon, 27 Feb 2017 09:57:13 -0800 Message-ID: References: <87h93gdqts.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="0-1536271295-1488218234=:918" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciPY1-0005F9-RU for emacs-orgmode@gnu.org; Mon, 27 Feb 2017 12:57:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciPXy-0007vI-J4 for emacs-orgmode@gnu.org; Mon, 27 Feb 2017 12:57:21 -0500 Received: from iport-acv2-out.ucsd.edu ([132.239.0.174]:28178) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciPXy-0007tk-1m for emacs-orgmode@gnu.org; Mon, 27 Feb 2017 12:57:18 -0500 In-Reply-To: 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" To: dmg Cc: emacs-orgmode , Nicolas Goaziou This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1536271295-1488218234=:918 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT 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
--0-1536271295-1488218234=:918--