Custom URL schemes not rendered in description, but works in comments
Summary
When using Markdown links to open apps with custom URL schemes (those other than https://
), the link won't render in the issue description field (such as here), but renders and works just fine in comments.
Seems to me that the markdown rendering used in 1. issue comments, 2. issue description editor and 3. actual issue description are not performing consistently.
Steps to reproduce
A link to open VSCode (vscode://tmp/test.txt
) is as follows
open /tmp/test.txt (raw markdown: [open /tmp/test.txt](vscode://tmp/test.txt)
)
The above link works in:
- Issue description editor when using the Preview feature
- Issue comments, see the first one below where I pasted the exact same markdown
but does not work in
- Issue description, rendered while not in editing mode
What is the current bug behavior?
The Markdown link falls back to regular text, which is not clickable.
What is the expected correct behavior?
Should render the link regardless of protocols used.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com, as well as a self-hosted instance running GitLab (14.0.0-ee omnibus docker)
This may be related to another bug I reported 10 months ago, where [[_TOC_]]
is rendered in description, but not in comments. ref: #239303 (closed)