From mboxrd@z Thu Jan 1 00:00:00 1970 From: dmg Subject: Bug report: export to HTML does not escape * in example Date: Sun, 26 Feb 2017 17:00:54 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045e3012ef97b20549789e3a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci9h4-0001mr-Ps for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 20:01:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ci9h3-00028j-D3 for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 20:01:38 -0500 Received: from mail-ua0-x232.google.com ([2607:f8b0:400c:c08::232]:35263) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ci9h3-00028c-8J for emacs-orgmode@gnu.org; Sun, 26 Feb 2017 20:01:37 -0500 Received: by mail-ua0-x232.google.com with SMTP id 40so41191083uau.2 for ; Sun, 26 Feb 2017 17:01:35 -0800 (PST) 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: emacs-orgmode --f403045e3012ef97b20549789e3a Content-Type: text/plain; charset=UTF-8 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 I am using org-mode version 9.0.3, under emacs-25.

Table of Contents

1 Example

hello world 1

#+beginexample

2 hello world 2

#+endexample

-- --dmg --- Daniel M. German http://turingmachine.org --f403045e3012ef97b20549789e3a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The following example:


* Example

#+begin_example
hello world
#+en= d_example

#+begin_example
* hello worl= d
#+end_example

exports an HTML file where the second= "hello word" is interpreted as a=C2=A0
header, ignoring that it = is within begin_example. See below

I am using org-mode version 9.0.3, = under emacs-25.


<div id=3D"content">
<div id=3D"table-of-contents"= ;>
<h2&g= t;Table of Contents</h2>
<div id=3D"text-table-of-contents">=
<ul>
<li><a href=3D= "#org4937d33">1. Example</a></li>
<li><a href=3D"#= org774a613">2. hello world 2</a></li>
= </ul>
</div>
</div>
<div id=3D"outline-containe= r-org4937d33" class=3D"outline-2">
<h2 id=3D"org4937d33"&g= t;<span class=3D"section-number-2">1</span> Example&l= t;/h2>
<= div class=3D"outline-text-2" id=3D"text-1">
<pre class=3D"= example">
hello world 1
</pre>

<p&= gt;
#+begin<= ;sub>example</sub>
</p>
</div>
</div>
<div id=3D"outline-container-org774a613" class=3D&quo= t;outline-2">
<h2 id=3D"org774a613"><span class=3D"sectio= n-number-2">2</span> hello world 2</h2>
<div class=3D"outline= -text-2" id=3D"text-2">
<p>
#+end<sub>example</sub>
</p>
<= font face=3D"arial, helvetica, sans-serif"></div>
</div>
</div>




--
--dmg

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