Repository: vscode
Issue: Images barely work in JsDoc
Labels: help wanted,feature-request,typescript,javascript

I'm trying to add an image to a JsDoc, but it works only in some specific cases.
(Everything pointed out in this issue works perfectly in normal MarkDown)

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: 1.94.2
- OS Version: Windows 11

Steps to Reproduce:

1. Open a new JavaScript tab
2. Paste the provided code
3. Hover `a`

Code:
```js
/**
 * (The images are from random repos)
 * 
 * ---
 * 
 * Completely stripped out regardless (Tag "img")
 * 
 * <img src="https://raw.githubusercontent.com/ReturnInfinity/BareMetal-OS/refs/heads/master/images/BareMetal%20OS%20-%20Dark.png">
 * 
 * ---
 * 
 * Works (.png)
 * 
 * ![](https://raw.githubusercontent.com/ReturnInfinity/BareMetal-OS/refs/heads/master/images/BareMetal%20OS%20-%20Dark.png)
 * 
 * ---
 * 
 * Doesn't work (.svg)
 * 
 * ![](https://raw.githubusercontent.com/FortAwesome/Font-Awesome/refs/heads/6.x/svgs/brands/42-group.svg)
 * 
 * ---
 * 
 * Works (Same .svg with proxy)
 * 
 * ![](https://corsproxy.io/?https://raw.githubusercontent.com/FortAwesome/Font-Awesome/refs/heads/6.x/svgs/brands/42-group.svg)
 * 
 * ---
 * 
 * Doesn't work (Url generated by pasting the same .svg in a GitHub issue)
 * 
 * ![](https://github.com/user-attachments/assets/c33c4d89-b27c-4eeb-9625-d532d0678b40)
 * 
 * ---
 * 
 * Works (Same .svg with data URL)
 * 
 * ![](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjYuMCBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyNCBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTMyMCA5NlY0MTZDMzQxLjAxMSA0MTYgMzYxLjgxOCA0MTEuODYxIDM4MS4yMyA0MDMuODIxQzQwMC42NDEgMzk1Ljc4IDQxOC4yOCAzODMuOTk1IDQzMy4xMzggMzY5LjEzOEM0NDcuOTk1IDM1NC4yOCA0NTkuNzggMzM2LjY0MSA0NjcuODIxIDMxNy4yM0M0NzUuODYxIDI5Ny44MTggNDgwIDI3Ny4wMTEgNDgwIDI1NkM0ODAgMjM0Ljk4OSA0NzUuODYxIDIxNC4xODIgNDY3LjgyMSAxOTQuNzcxQzQ1OS43OCAxNzUuMzU5IDQ0Ny45OTUgMTU3LjcyIDQzMy4xMzggMTQyLjg2M0M0MTguMjggMTI4LjAwNSA0MDAuNjQxIDExNi4yMiAzODEuMjMgMTA4LjE3OUMzNjEuODE4IDEwMC4xMzkgMzQxLjAxMSA5NiAzMjAgOTZaTTAgMjU2TDE2MC4wMDIgNDE2TDMyMC4wMDMgMjU2TDE2MC4wMDIgOTZMMCAyNTZaTTQ4MCAyNTZDNDgwIDI3Ny4wMTEgNDg0LjEzOCAyOTcuODE4IDQ5Mi4xNzkgMzE3LjIzQzUwMC4yMTkgMzM2LjY0MyA1MTIuMDA1IDM1NC4yOCA1MjYuODYyIDM2OS4xMzhDNTQxLjcyIDM4My45OTUgNTU5LjM1NyAzOTUuNzgxIDU3OC43NyA0MDMuODIxQzU5OC4xODIgNDExLjg2MiA2MTguOTg5IDQxNiA2NDAgNDE2Vjk2QzU5Ny41NjUgOTYgNTU2Ljg2OSAxMTIuODU4IDUyNi44NjIgMTQyLjg2M0M0OTYuODU3IDE3Mi44NjkgNDgwIDIxMy41NjUgNDgwIDI1NloiLz48L3N2Zz4=)
 */
const a = 1;
```
I tried going to "Help" > "Toggle Developer Tools" and this is what the console is telling me
![Image](https://github.com/user-attachments/assets/0db211f1-ce4b-43f3-a088-dbd4e14c79b4)
These lines are logged each time I hover `a`