Custom URI Scheme Incorrectly Rewritten as HTTPS Link
-
When using a custom URI scheme (e.g.,
macappstores://) in a Markdown link, the plugin incorrectly rewrites it as anhttps://URL. This causes the link to open in a web browser instead of launching the intended native application (in this case, the Mac App Store).Steps to Reproduce
- Add the following Markdown link to a document:
[Mac App Store Link](macappstores://apps.apple.com/cn/app/macos-sequoia/id6596773750?mt=12) - Render or click the link.
- Actual behavior: The link is converted to
https://apps.apple.com/cn/app/macos-sequoia/id6596773750?mt=12
and opens in a browser. - Expected behavior: The original URI scheme should be preserved:
macappstores://apps.apple.com/cn/app/macos-sequoia/id6596773750?mt=12,
so that clicking it triggers the Mac App Store app via the system URL handler.
- Add the following Markdown link to a document:
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.