John Kitchin <jkitchin <at> andrew.cmu.edu> writes: > jorge.a.alfaro <at> gmail.com (Jorge A. Alfaro-Murillo) writes: > > thanks for point that out, I have fixed them now I think. That must be > from some link escaping in the translation of org to html I guess.
No, the problem happens during org-insert-link, so even before it's exported anywhere. I had to patch my org.el to fix the org-link-escape-chars variable. Maybe it should be fixed in the standard distribution, because its a really annoying and unexpected behaviour. Regards, David diff --git a/lisp/org.el b/lisp/org.el index 3e83043..3bca94a 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9777,8 +9777,8 @@ according to FMT "]")) (defconst org-link-escape-chars - ;;%20 %2B %3B %3D %5B %5D - '(?\ ?\+ ?\; ?\= ?\[ ?\]) + ;;%20 %2B %3B %5B %5Dnn + '(?\ ?\+ ?\; ?\[ ?\]) "List of characters that should be escaped in link. This is the list that is used for internal purposes.")