Same-note Markdown link whose heading anchor contains a colon is treated as an external link

Steps to reproduce

  1. Settings → Files and links: “Use [[Wikilinks]]” off.

  2. Create a note Colon containing:

    ## Colon:unspaced
    
    ## Colon: spaced
    
    [a](#Colon:unspaced)
    
    [b](<#Colon: spaced>)
    

    Write the two links by hand, not with autocomplete.

  3. In a folder sub, create a note containing [c](../Colon.md#Colon:unspaced).

  4. Hover or click each link.

Did you follow the troubleshooting guide?

Y. Reproduced in the sandbox vault.

Expected result

All three reach their heading. Heading links otherwise match : as a space: #Colon unspaced reaches ## Colon:unspaced.

Actual result

a and b are styled as external links, show no preview, and do nothing when clicked. c reaches the heading. Autocomplete itself writes #Colon%20unspaced, which works, so the problem shows only in links written or copied by hand.

Environment

SYSTEM INFO:
Obsidian version: 1.14.5
Installer version: 1.12.7
Operating system: #1 SMP PREEMPT_DYNAMIC Tue Oct 6 19:13:07 UTC 2026 6.18.54.1-microsoft-standard-WSL2
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

Additional information

A possible cause: the link is treated as external when a : comes before any /, as in a URL scheme. The archived Markdown link broken when link to heading (topic 46273) (2022) fits this: […](文本匹配问题.md#Q:%20…) failed where […](./文本匹配问题.md#Q:%20…) worked. Possibly the same root cause for external links: Links including a colon in the domain/path component do not work (topic 8253).