Header link with ":" recognized as URL in markdown links

Steps to reproduce


[`namespace::cout`](#namespace::cout)

# namespace::cout

The header link above doesn’t work and it seems to be recognized as URL(or external link). I don’t know how obsidian recognizes URL but I think judging url by simply matching : is not a good idea.

Expected result

jump to the namespace::cout part

Actual result

nothing happens

Environment

  • Operating system:

win11 22h2

  • Obsidian version:

1.0.3

  • Debug info:

Don’t know how to produce. I think there is no need.


Additional information

recognized as external link???