Richard Lawrence <r...@recursewithless.net> writes: >> I am attaching an alternative patch to fix the issue using Org element >> parser. Note that I reused your tests. > > FWIW I've tested this patch for a few days and it fixes the issue for > me. I'd be happy if it were merged.
Thanks for testing. Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=506d5b12ddbb319f0f70593cda54d8d9c580db7b -- 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> Fixed. Applied.