Markdown link broken when link to heading

I use markdown link to refer section header of other note, it can’t not link to file. when I click this link ,it not jumps.

Steps to reproduce

this link not work (which generates by automatic completion when I input [[ choose note and then input # choose heading ), ex:

[文本匹配在 NLP 中的任务叫什么?](文本匹配问题.md#Q:%20文本匹配在%20NLP%20中的任务叫什么?)

if add prefix ‘./’ , it works.

[文本匹配在 NLP 中的任务叫什么?](./文本匹配问题.md#Q:%20文本匹配在%20NLP%20中的任务叫什么?)

I also check only refer note(not use #heading), such as [文本匹配问题](文本匹配问题.md),but it works.

This led to the inconsistent,may be a bug.

Expected result

link to note heading successfully, click it jump to file and heading.

Actual result

not link to file and heading

Environment

  • Operating system:

  • Debug info:
    SYSTEM INFO:
    Obsidian version: v1.0.3
    Installer version: v0.15.9
    Operating system: Darwin Kernel Version 20.6.0: Mon Aug 29 04:31:06 PDT 2022; root:xnu-7195.141.39~2/RELEASE_X86_64 20.6.0
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: light
    Community theme: Minimal
    Snippets enabled: 1
    Restricted mode: off
    Plugins installed: 44
    Plugins enabled: 38
    1: Advanced URI v1.28.2
    2: Templater v1.14.3
    3: Custom Attachment Location v0.0.9
    4: Mind Map v1.1.0
    5: Dataview v0.5.47
    6: Emoji Toolbar v0.3.2
    7: Image Toolkit v1.3.1
    8: Word Splitting for Simplified Chinese in Edit Mode v1.8.2
    9: Outliner v4.1.0
    10: Search on Internet v0.5.0
    11: Advanced Tables v0.17.3
    12: Tag Wrangler v0.5.4
    13: Better footnote v1.0.1
    14: Footnote Shortcut v0.0.9
    15: Recent Files v1.3.3
    16: Quick Explorer v0.2.2
    17: QuickAdd v0.5.5
    18: Clear Unused Images v1.0.6
    19: Icon Folder v1.3.31
    20: Commander v0.2.1
    21: Consistent attachments and links v1.0.8
    22: Local images v0.14.2
    23: Obsidian Git v2.8.0
    24: Get Info v1.1.0
    25: Reveal Active File Button v2.0.2
    26: Remember cursor position v1.0.7
    27: MarginNote Companion v0.8.3
    28: Lapel v0.1.0
    29: Style Settings v0.4.12
    30: Ozan’s Image in Editor Plugin v2.1.5
    31: Contextual Typography v2.2.4
    32: Minimal Theme Settings v6.1.0
    33: Embedded Code Title v0.5.5
    34: Obsidian42 - BRAT v0.6.35
    35: Editing Toolbar v2.2.0
    36: Linter v1.6.0
    37: Paste URL into selection v1.7.0
    38: Easy Typing v5.0.7

Tips: I also check it in clean vault, the same happened

Thank you

I have this same bug, it’s been there for a long time.

Obsidian 1.1.12 (1.1.9), macOS 13.2

Not sure I understand here. Can attach a couple of files where this happens?

Just cross-linking this for visibility. I’ve been able to repro this in the Sandbox vault, posted details here: