emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug report: export to HTML does not escape * in example


From: Nicolas Goaziou
Subject: Re: [O] Bug report: export to HTML does not escape * in example
Date: Mon, 27 Feb 2017 08:40:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

dmg <address@hidden> writes:

> The following example:
>
>
> * Example
>
> #+begin_example
> hello world
> #+end_example
>
> #+begin_example
> * hello world
> #+end_example
>
> exports an HTML file where the second "hello word" is interpreted as a
> header, ignoring that it is within begin_example. See below

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,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]