Link to header; in header

Use case or problem

When clicking link to header in header;
the link leads to themself.

Linkt to header in header

# [[#Person 1]]
aaa
[[#Person 1]]
aaa
aaa
# Group 1
## Person 1
## Person 2

Proposed solution

When clicking link to header [[#Person 1]] anywhere (in text or header)
then ignore all headers that are just links to headers:
# [[#Person 1]]
## [[#Person 1]]
### [[#Person 1]]

Current workaround (optional)

Add sign to header:
# [[#Person 1]]# [[#Person 1]]_

My use case

This is important feature for games and RPG, where Person can be treated as

  • character
  • part of gruop
  • part of place
  • part of quest