forked from mirrors/org-mode
Fix cross-references from %-encoded links in publishing
* lisp/ox-publish.el (org-publish-resolve-external-link): Decode search string. Reported-by: Martin Hans <martinhansdk@gmail.com> <http://lists.gnu.org/archive/html/emacs-orgmode/2017-11/msg00328.html>
This commit is contained in:
parent
3226129036
commit
1b1966a144
|
@ -1154,7 +1154,8 @@ references with `org-export-get-reference'."
|
||||||
(let* ((filename (file-truename file))
|
(let* ((filename (file-truename file))
|
||||||
(crossrefs
|
(crossrefs
|
||||||
(org-publish-cache-get-file-property filename :crossrefs nil t))
|
(org-publish-cache-get-file-property filename :crossrefs nil t))
|
||||||
(cells (org-export-string-to-search-cell search)))
|
(cells
|
||||||
|
(org-export-string-to-search-cell (org-link-unescape search))))
|
||||||
(or
|
(or
|
||||||
;; Look for reference associated to search cells triggered by
|
;; Look for reference associated to search cells triggered by
|
||||||
;; LINK. It can match when targeted file has been published
|
;; LINK. It can match when targeted file has been published
|
||||||
|
|
Loading…
Reference in New Issue