My bad, wrong manipulation. Here is the patch. To reproduce the error, you can type the following in a fresh Org #+begin_src org target some text <<>> another text target #+end_src Using C-c C-o on any of the two links will return an error.