Link with custom URI scheme (e.g. `<foo://bar>`) does not render in editing modes

Steps to reproduce

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

When I enclose a custom URI scheme in angle brackets, e.g. <foo://bar>, it should be rendered as a link in Live Preview mode and Source mode.

Actual result

My <foo://bar> example renders as a link only in Reading mode, but not in the other two modes.

Environment

SYSTEM INFO:
	Obsidian version: v1.8.4
	Installer version: v1.8.4
	Operating system: #1 SMP PREEMPT_DYNAMIC Thu Jan  9 16:04:00 UTC 2025 6.12.9-100.fc40.x86_64
	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

Full disclosure: I’m using the Flathub version of Obsidian on Fedora Linux 40. I know the Flathub version is not officially supported, but it seems that other people are experiencing the same bug on other platforms, and I don’t think there is an open bug report for it.


Additional information

I believe this is a duplicate of Custom URL links are not clickable in edit mode and Request - working custom URL schemes in edit view, in which the OP was specifically trying to get zotero:// links working, which is also my use-case. But I confirmed that this bug applies to all custom URI schemes.

I suspect that @cobblepot was being misunderstood in their two posts about this bug. It looks like the replies were assuming that the issue was that Zotero links were not opening when clicked.

However, my issue is the fact that links with custom URI schemes, e.g. <zotero://select/items/0_PS84XSH7>, do not render as links except in Reading mode. (They are openable in Reading mode, so that’s not the issue.)

thanks