Command-clicking on a reference-style link in source mode causes a new file to be erroneously created

Steps to reproduce

Create a new file with this text

- [Hello][1]
- [World][world]


Then, in source mode, cmd-click somewhere inside the bracketed areas.

Expected result

Browser opens to linked pages

Actual result

New empty file(s) are created, with garbage filenames



	Obsidian version: v1.6.6
	Installer version: v1.6.5
	Operating system: Darwin Kernel Version 23.5.0: Wed May  1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 23.5.0
	Login status: not logged in
	Insider build toggle: on
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on


Additional information

Similar to: Command clicking an empty link results in a new empty file named ().md being created

Duplicate of