From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iHAXBPUVwl4dPQAA0tVLHw (envelope-from ) for ; Mon, 18 May 2020 04:58:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kE9sO/QVwl5rWwAAbx9fmQ (envelope-from ) for ; Mon, 18 May 2020 04:58:28 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 90D01940365 for ; Mon, 18 May 2020 04:58:28 +0000 (UTC) Received: from localhost ([::1]:51710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaXr8-0003f2-LW for larch@yhetil.org; Mon, 18 May 2020 00:58:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaTyh-0003CP-WA for emacs-orgmode@gnu.org; Sun, 17 May 2020 20:50:00 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:40696) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaTyg-0007CB-NA for emacs-orgmode@gnu.org; Sun, 17 May 2020 20:49:59 -0400 Received: by mail-lf1-x135.google.com with SMTP id h188so6533275lfd.7 for ; Sun, 17 May 2020 17:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OGXG8t7LgQKtD8yP2OakRS/cKmQkdwWu/hGeGl8qWQE=; b=L33gTDLyA7thoIkxM30qFTaCwpdBf/6dHxTQqtyD3o5AmuTRfnDAlfDRHbtqq0rg3d 34X7s7L6GxAhtjLtb82xfbOcqtP/zVj9vDm9RPjM5o8wxrYhZAKvYzqce2HSctC1vWzv FD9Bgx5BzLvJ5fNriNJOd1E184kR35u4wq0/1o+J4YW8iwJGSGEeZmgN1bYeqCrmzVzV TmTPFUSKPj7EnkL3aKtYJqf6FSfjQYwkx+L/Tol6xIG8fLimsHXNZIxv6EliNHXLzgKL Sm5S3qWkODaslwWve0/KQkA8CgD08fDN7TulgB4y58u0NAzkq1OFWp7Li45hVCGmFuDe S0XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OGXG8t7LgQKtD8yP2OakRS/cKmQkdwWu/hGeGl8qWQE=; b=of69PfdJh426UBJUYJvOgSN28VRkAhyuSpX4UrovAmV71KqQ5RSynu0Nned2zUunl8 YAPOnba6yNjMkJHjOzylK8GWOvuK+yjdblp6Q9O8M30T958fqEG+l5MHy2eo4ghF7zLw Sv+kL0JkzERMYT0IDsXnTClLHK16KSzqCFNqd4SjgkMExl/pfFKTGrdnZxwE9FLWpz/4 6CGMGQjalP2AwknGcLtt+Sxw2TmzyGE6hKecC1ucrdyPybfumzRwXVrsYI+ezLwHifze It+wORLR1jKsKLNSGlp90y6yXWHFsWIPiWteS7LPCRzJouNnuM/B+bLT3DYyMt9hkDjl WQFQ== X-Gm-Message-State: AOAM5330JDuOq+NvUttdUZVq23IVXGCTy2NLhMmtpGgwpBd08IJjSGts jeu9q64u2YaMHzxdeT6nyGWBuAOVsccienMcSIFInZOi8iY= X-Google-Smtp-Source: ABdhPJyYgnI/koY+9xeo2TI/zGAhM4Jz2ye+LPhjRgoyMMFRVcYua8iEZHGcV48SHmUhQjTFAHr8UICPfli5Jb7WWlw= X-Received: by 2002:a19:c7d6:: with SMTP id x205mr1941514lff.113.1589762994114; Sun, 17 May 2020 17:49:54 -0700 (PDT) MIME-Version: 1.0 From: Eric Berquist Date: Sun, 17 May 2020 20:49:18 -0400 Message-ID: Subject: Bug: Asterisk inside example is incorrectly parsed [9.3 (release_9.3 @ /usr/share/emacs/27.0.91/lisp/org/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="0000000000008a95eb05a5e18aa4" Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=eric.berquist@gmail.com; helo=mail-lf1-x135.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Mailman-Approved-At: Mon, 18 May 2020 00:57:27 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=L33gTDLy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: S8yUY2kjxiwN --0000000000008a95eb05a5e18aa4 Content-Type: text/plain; charset="UTF-8" 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/) --0000000000008a95eb05a5e18aa4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The asterisk inside the example block isn't escaped pr= operly, and
appears as a header, leaving `#+begin_example` and `#+end_ex= ample` to
appear as regular text. It occurs in at least both the HTML an= d LaTeX
output. Here is a minimal example to reproduce the problem:
<= br>=C2=A0 =C2=A0 * first section

=C2=A0 =C2=A0 #+begin_example
= =C2=A0 =C2=A0 * I am not supposed to be a section
=C2=A0 =C2=A0 #+end_ex= ample

=C2=A0 =C2=A0 * second section

=C2=A0 =C2=A0 #+begin_ex= ample
=C2=A0 =C2=A0 Hello, world!
=C2=A0 =C2=A0 #+end_example

= This is using `emacs -Q`, so I've left off the current state
section= . This also happens with Org commit
3c4cb7b296c78aafb0d6302a4075f1f1fa1c= 7e1c (`org-collect-keywords` was
causing me issues, so I'm not at HE= AD).

Emacs =C2=A0: GNU Emacs 27.0.91 (build 1, x86_64-pc-linux-gnu, = GTK+ Version 3.24.20, cairo version 1.17.3)
=C2=A0of 2020-05-17
Packa= ge: Org mode version 9.3 (release_9.3 @ /usr/share/emacs/27.0.91/lisp/org/)=
--0000000000008a95eb05a5e18aa4--