org-store-link stores spaces in links as "%20".
Like this: [[file:../home.org::target%20A]]
The "%20" causes org-publish to say, "No match for fuzzy expression".
The org links work well with %20 or with spaces.
Like this: [[file:../home.org::*headline A]]
Is there a purpose for org-store-link storing %20 instead of space?
Work-a-round:
- Use org-store-link and org-insert-link to insert link, which results in a link where spaces are %20.
- Then manually edit link to replace %20 with space.
- Then run org-publish to make html files with links.
The issue was described on https://lists.gnu.org/archive/html/emacs-orgmode/2018-01/msg00131.html.
But the thread attributed the bug to org-publish.
Maybe the real culprit is org-store-link automatically replacing spaces with %20.
In which case the bug fix would be to have org-store-link store link with space (not %20).