On 17/12/22 11:32, Leo Butler wrote:
Org version is 9.5.2; emacs version is 27.1.
The manual does not indicate that underscores need to be escaped in
links (and they can't be, as far as I can tell). The latex and html
exporters interpret them as the start of a subscript.
Leo
By default underscore is treated that way--see the "Subscripts and
Superscripts" section of the manual
(https://orgmode.org/manual/Subscripts-and-Superscripts.html).
Set the '^' option to 'nil' to get the behaviour you're after:
#+OPTIONS: toc:nil num:nil ^:nil
If you want a subscript anywhere, you can get that by using curly braces
(e.g., ex_{ample}).