emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: ox-publish(html) needs org-link-unescape while treating external search link [9.0.9 (9.0.9-68-g492420-elpaplus @ /home/farseer/.emacs.d/elpa/org-plus-contrib-20170807/)]
@ 2018-09-20  8:57 Farseer He
  2018-09-22 21:33 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Farseer He @ 2018-09-20  8:57 UTC (permalink / raw)
  To: emacs-orgmode

Problem: ox-publish (to html for example) generates incoherent external
links for search links like [[file:foo%20bar.org::*h1][link example]].
Suppose the h1 element in "foo bar.html" has ID "#orgffffff", the
generated external html anchor link may refer to ID "#org000000".

Probable reason: Different IDs get generated to org-publish-cache, 1 for
h1 in "foo bar.org", the other (generated by org-resolve-external-link)
for h1 in "foo%20bar.org". I suppose that "org-link-unescape" should be
called before written to cache.

Emacs  : GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-07-05
Package: Org mode version 9.0.9 (9.0.9-68-g492420-elpaplus @ /home/farseer/.emacs.d/elpa/org-plus-contrib-20170807/)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-23  0:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-20  8:57 Bug: ox-publish(html) needs org-link-unescape while treating external search link [9.0.9 (9.0.9-68-g492420-elpaplus @ /home/farseer/.emacs.d/elpa/org-plus-contrib-20170807/)] Farseer He
2018-09-22 21:33 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).