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 7373a7e commit 4c337a5Copy full SHA for 4c337a5
modules/markup/orgmode/orgmode_test.go
@@ -45,10 +45,8 @@ func TestRender_Images(t *testing.T) {
45
}
46
47
url := "../../.images/src/02/train.jpg"
48
- title := "Train"
49
result := util.URLJoin(AppSubURL, url)
50
51
- test(
52
- "[[file:"+url+"]["+title+"]]",
53
- `<p><a href="`+result+`"><img src="`+result+`" alt="`+title+`" title="`+title+`" /></a></p>`)
+ test("[[file:"+url+"]]",
+ "<p>\n<img src=\""+result+"\" alt=\""+result+"\" title=\""+result+"\" />\n</p>")
54
0 commit comments