summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-01 15:16:01 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-01 15:16:01 +0200
commitd391364ac9caa7968126e846e8803e34889f8170 (patch)
tree1e9d7f50a2fc22edae9fbbf8b19133110daf9be5
parentefc12142b78c6f1b5711048b5f2ee2183e596702 (diff)
parentb908367b0347103047091875e403b477f9f507cc (diff)
downloadorg-mode-d391364ac9caa7968126e846e8803e34889f8170.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/ox-latex.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index 6535d59..e5e9c80 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -2588,7 +2588,9 @@ INFO is a plist holding contextual information. See
;; equivalent line number.
((string= type "coderef")
(format (org-export-get-coderef-format path desc)
- (org-export-resolve-coderef path info)))
+ ;; Resolve with RAW-PATH since PATH could be tainted
+ ;; with `org-latex--protect-text' call above.
+ (org-export-resolve-coderef raw-path info)))
;; External link with a description part.
((and path desc) (format "\\href{%s}{%s}" path desc))
;; External link without a description part.