From mboxrd@z Thu Jan 1 00:00:00 1970 From: dmg Subject: Re: Bug report: export to HTML does not escape * in example Date: Mon, 27 Feb 2017 00:24:30 -0800 Message-ID: References: <87h93gdqts.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045e301264bc3905497ed148 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciGcL-0008EK-GS for emacs-orgmode@gnu.org; Mon, 27 Feb 2017 03:25:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciGcK-0001g6-43 for emacs-orgmode@gnu.org; Mon, 27 Feb 2017 03:25:13 -0500 Received: from mail-ua0-x236.google.com ([2607:f8b0:400c:c08::236]:34582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciGcJ-0001fs-Tm for emacs-orgmode@gnu.org; Mon, 27 Feb 2017 03:25:12 -0500 Received: by mail-ua0-x236.google.com with SMTP id f54so18018663uaa.1 for ; Mon, 27 Feb 2017 00:25:11 -0800 (PST) In-Reply-To: <87h93gdqts.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode --f403045e301264bc3905497ed148 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Feb 26, 2017 at 11:40 PM, Nicolas Goaziou wrote: > > A star at the beginning of a line is always a headline. It has > precedence over the block around it. You need to escape the star > character: > > #+begin_example > ,* hello world > #+end_example > > Regards, =E2=80=8BThank 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: =E2=80=8B#+BEGIN_SRC sh echo "* Hello" #+END_SRC #+RESULTS: #+begin_example * Hello #+end_example =E2=80=8BIn that case, should babel be the one escaping the * in the RESULT= S block? thanks again, --daniel=E2=80=8B --=20 --dmg --- Daniel M. German http://turingmachine.org --f403045e301264bc3905497ed148 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Sun, Feb 26, 2017 at 11:40 PM, Nicolas Goaziou <mail@nicolasgoazio= u.fr> wrote:

A star at the beginning of a line is always a headline. It has
precedence over the block around it. You need to escape the star
character:

=C2=A0 #+begin_example
=C2=A0 ,* hello world
=C2=A0 #+end_example

Regards,

=E2=80=8BThank you. I gue= ss the issue is then with org-babel.

I am running a babel script that generates, as one of its li= ne * in the front:

=E2=80=8B#+BEGIN_SRC = sh
echo "* Hello"
#+END_SRC

#+RESULTS:
#+begin_example
* Hello
=
#+= end_example

=E2=80=8BIn = that case, should babel be the one escaping the * in the RESULTS block?

thanks again,

--daniel=E2=80=8B

=


--
= --dmg

---
Daniel M. German
http://turingmachine.org
--f403045e301264bc3905497ed148--