Org mode internal links go to wrong page (reopening past issue)

Hello,

Summary

when using org-mode for READMEs, internal links are broken.

This issue is the same as the one reported here (it was auto-closed).

Steps to reproduce

Exactly as the previous issue:

Addsomething like this to an org file. [[*Another-Heading-Within-Same-Org-File][here.]] Commit code, go to org file within Gitlab. Click on the link [here.]. It will go to another page instead of navigating to the expected header/section.

Also, links of the form <<Link name>> do not work either.

Example Project

Here an example from one of my READMEs: My blog's README.org

  1. Check out the link in the word "here", first paragraph: For more about design, click [[More about design][here]].

  2. Links of the form <<Link name>> are not supported. (As example, search in same README the link: "Docker-gitlab-deploy-example").

What is the current bug behavior?

  1. For example, when clicking on link [[More about design][here]], it will jump to non-existant, malformed url: https://gitlab.com/nicolaus1990/nicolaus1990.gitlab.io/master/More%20about%20design.
  2. The same as 1.

What is the expected correct behavior?

  1. Jumps to the correct header on same page.
  2. Jumps to where link was set. And link (<<Link name>>) should not be visible.

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

...

Results of GitLab application Check

...

Possible fixes

...

Cheers!

Assignee Loading
Time tracking Loading