From: dmg <dmg@turingmachine.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Bug report: export to HTML does not escape * in example
Date: Sun, 26 Feb 2017 17:00:54 -0800 [thread overview]
Message-ID: <CAEBXXD_eunOcJ0vx4N1YVddKpE5DrhNymbrKyOkWa2nwcmhb1g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1099 bytes --]
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.
<div id="content">
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org4937d33">1. Example</a></li>
<li><a href="#org774a613">2. hello world 2</a></li>
</ul>
</div>
</div>
<div id="outline-container-org4937d33" class="outline-2">
<h2 id="org4937d33"><span class="section-number-2">1</span> Example</h2>
<div class="outline-text-2" id="text-1">
<pre class="example">
hello world 1
</pre>
<p>
#+begin<sub>example</sub>
</p>
</div>
</div>
<div id="outline-container-org774a613" class="outline-2">
<h2 id="org774a613"><span class="section-number-2">2</span> hello world
2</h2>
<div class="outline-text-2" id="text-2">
<p>
#+end<sub>example</sub>
</p>
</div>
</div>
</div>
--
--dmg
---
Daniel M. German
http://turingmachine.org
[-- Attachment #2: Type: text/html, Size: 5227 bytes --]
next reply other threads:[~2017-02-27 1:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-27 1:00 dmg [this message]
2017-02-27 7:40 ` Bug report: export to HTML does not escape * in example Nicolas Goaziou
2017-02-27 8:24 ` dmg
2017-02-27 17:57 ` Charles C. Berry
2017-02-27 19:04 ` Nick Dokos
2017-03-01 20:04 ` D M German
2017-03-01 21:20 ` Nicolas Goaziou
2017-03-03 19:06 ` Charles C. Berry
2017-03-05 17:06 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEBXXD_eunOcJ0vx4N1YVddKpE5DrhNymbrKyOkWa2nwcmhb1g@mail.gmail.com \
--to=dmg@turingmachine.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).