"Tom Alexander" <t...@fizz.buzz> writes: > I suspect this is a regression. I am using this test document: > ``` > @@latex: > ... > and dumped the AST with M-x eval-expression (message "%s" (pp-to-string > (org-element-parse-buffer))) > > When using the latest in main (commit > b89bc55867d7cb809c379d371d12d409db785154, Org mode version 9.7-pre > (release_N/A-N/A-b89bc5 @ /usr/share/emacs/site-lisp/org/)) the "@@latex:" > gets parsed as an export snippet despite not having a closing "@@" (because > the "@@" is in a different paragraph).
Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e340dde63 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>