From: Eric Berquist <eric.berquist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: Asterisk inside example is incorrectly parsed [9.3 (release_9.3 @ /usr/share/emacs/27.0.91/lisp/org/)]
Date: Sun, 17 May 2020 20:49:18 -0400 [thread overview]
Message-ID: <CAM4GD6-VQC1VgdXRwp_GpDVSzjUOKf9UG6EAKr0P+KJTg4vCVA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 858 bytes --]
The asterisk inside the example block isn't escaped properly, and
appears as a header, leaving `#+begin_example` and `#+end_example` to
appear as regular text. It occurs in at least both the HTML and LaTeX
output. Here is a minimal example to reproduce the problem:
* first section
#+begin_example
* I am not supposed to be a section
#+end_example
* second section
#+begin_example
Hello, world!
#+end_example
This is using `emacs -Q`, so I've left off the current state
section. This also happens with Org commit
3c4cb7b296c78aafb0d6302a4075f1f1fa1c7e1c (`org-collect-keywords` was
causing me issues, so I'm not at HEAD).
Emacs : GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.20, cairo version 1.17.3)
of 2020-05-17
Package: Org mode version 9.3 (release_9.3 @
/usr/share/emacs/27.0.91/lisp/org/)
[-- Attachment #2: Type: text/html, Size: 986 bytes --]
next reply other threads:[~2020-05-18 4:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-18 0:49 Eric Berquist [this message]
2020-05-18 17:23 ` Bug: Asterisk inside example is incorrectly parsed [9.3 (release_9.3 @ /usr/share/emacs/27.0.91/lisp/org/)] Nick Dokos
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=CAM4GD6-VQC1VgdXRwp_GpDVSzjUOKf9UG6EAKr0P+KJTg4vCVA@mail.gmail.com \
--to=eric.berquist@gmail.com \
--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).