Links in footnote broken in edit mode

Steps to reproduce

  • Create note
Footnote^[[[#Link-internal|Internal link]]]

# Link-internal

Did you follow the [troubleshooting guide]

Yes

Expected result

Working link in footnote in edit mode.

Actual result

Link is broken in edit mode, works fine with reading view.

Environment

SYSTEM INFO:
	Obsidian version: v1.5.8
	Installer version: v1.5.8
	Operating system: #1 SMP PREEMPT Fri Jan 5 16:20:43 UTC 2024 5.15.146-1-MANJARO
	Login status: not logged in
	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

There is this bug in bug graveyard - but it’s reported for legacy-editor Internal links broken in footnotes