Hi Nicolas,
Nicolas Goaziou <[email protected]> writes:
> Actually, some characters need to be escaped when used in a URL within
> a \href command, but not all of them. `org-latex-plain-text' escapes too
> many of them and `org-link-escape' doesn't escape enough (and we don't
> need to rely on it).
Thanks for the details.
> According to hyperref documentation # and ~ need not be escaped. Though,
> %, { and } do. I'm not sure about \, ^ and _.
>
> Also, I don't think \url command has the same problem, so escaping can
> happen later in the function, not at the `raw-path' level.
Please feel free to go ahead with whatever fix is better, I was just
trying to quickly reproduce the bug.
Thanks,
--
Bastien