We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d868b92 commit dc92cb1Copy full SHA for dc92cb1
modules/markup/orgmode/orgmode_test.go
@@ -82,6 +82,8 @@ func TestRender_Media(t *testing.T) {
82
`<p><video src="https://example.com/example.mp4">https://example.com/example.mp4</video></p>`)
83
84
// test [[LINK][DESCRIPTION]] syntax with "file:" prefix
85
+ test(`[[https://example.com/][file:https://example.com/foo%20bar.svg]]`,
86
+ `<p><a href="https://example.com/"><img src="https://example.com/foo%20bar.svg" alt="https://example.com/foo%20bar.svg" /></a></p>`)
87
test(`[[file:https://example.com/foo%20bar.svg][Goto Image]]`,
88
`<p><a href="https://example.com/foo%20bar.svg">Goto Image</a></p>`)
89
test(`[[file:https://example.com/link][https://example.com/image.jpg]]`,
0 commit comments