I store a link such as [[file:~/path/to/dir/some file.txt::# heading]]
, either manually or through org-capture
. A few days later, Org has converted all spaces to the HTML entity %20
: [[file:~/path/to/dir/some%20file.txt::#%20heading]]
, and the link now fails.
The file on disk does not change, rather Org (or some other process) changes the link to that file, replacing spaces with %20
.
Why is this happening, and how can I prevent it?
ls -l
to figure out when it changes. My suspicion is a cron job (or an emacs timer) going off and doing the damage. Knowing how often and when it changes might help narrow down the suspects. – NickD Oct 8 '20 at 0:05%20
. I edited the question to clarify, thanks for the pointer. – miguelmorin Oct 12 '20 at 13:17cat
the Org mode file, has the link changed? If you revisit the file, has the link changed? If you keep the buffer open, does the link change? – NickD Oct 12 '20 at 13:24