Looks like I was trying to be too clever. :) I used org-mode to write the bug report. The problem isn't that the formatting fails in source code blocks. I put it in one so that it would appear verbatim. If you copy the contents of the block into a normal paragraph, you should be able to see the problem.
I'm running Emacs 29.0.50 (from git) and org 9.5.3. Sent with Proton Mail secure email. ------- Original Message ------- On Wednesday, June 1st, 2022 at 6:37 PM, Eric S Fraga <e.fr...@ucl.ac.uk> wrote: > On Wednesday, 1 Jun 2022 at 07:53, Topi Mäenpää wrote: > > > I have trouble escaping a dollar sign in org-mode documents. I > > tried to enter the following: > > > > #+begin_src > > A (14 G$) B (6 G$) > > #+end_src > > > I have no problem with this. What version of org are you using? > > Out of curiosity, what language is this? I ask because #+begin_src > expects a language argument normally. Otherwise, I would use an example > block, e.g.: > > #+begin_example > A (14 G$) B (6 G$) > #+end_example > > which may also help with your problem. > > -- > : Eric S Fraga, with org release_9.5.3-520-g4dda0d in Emacs 29.0.50