It seems like the markdown rendering engine doesn’t like square brackets inside the alt-text for a link for both Live Preview and Reading modes.
Steps to reproduce
Paste this block of text into Obsidian:
Renders correctly a inline code block with link: [`program`](https://obsidian.md) .
Renders incorrectly [`programs []string`](https://obsidian.md).
Renders incorrectly [even just plain text [brackets] render incorrectly](https://obsidian.md).
Did you follow the troubleshooting guide? Y
Expected result
I expect the results to render correctly, like how it does in the Obsidian forums. The same snippet pasted here:
Renders correctly a inline code block with link:
program
.
Renders incorrectlyprograms []string
.
Renders incorrectly even just plain text [brackets] render incorrectly.
and here’s a screenshot of what I see in the forum:
← me holding back on making a recursive joke
Actual result
It seems like the rendering engine doesn’t like square brackets inside the alt-text for a link.
Environment
SYSTEM INFO:
Obsidian version: v1.7.1
Installer version: v1.5.3
Operating system: Darwin Kernel Version 21.6.0: Mon Jun 24 00:56:10 PDT 2024; root:xnu-8020.240.18.709.2~1/RELEASE_X86_64 21.6.0
Login status: logged in
Language: en
Catalyst license: vip
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none