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 2da4391 commit 8c31365Copy full SHA for 8c31365
modules/markup/markdown/markdown_test.go
@@ -93,6 +93,19 @@ func TestRender_Images(t *testing.T) {
93
test(
94
"[]("+href+")",
95
`<p><a href="`+href+`" rel="nofollow"><img src="`+result+`" alt="`+title+`"/></a></p>`)
96
+
97
+ url = "/../../.images/src/02/train.jpg"
98
+ test(
99
+ "",
100
+ `<p><a href="`+result+`" rel="nofollow"><img src="`+result+`" alt="`+title+`"/></a></p>`)
101
102
103
+ "[["+title+"|"+url+"]]",
104
+ `<p><a href="`+result+`" rel="nofollow"><img src="`+result+`" title="`+title+`" alt="`+title+`"/></a></p>`)
105
106
+ "[]("+href+")",
107
+ `<p><a href="`+href+`" rel="nofollow"><img src="`+result+`" alt="`+title+`"/></a></p>`)
108
109
}
110
111
func testAnswers(baseURLContent, baseURLImages string) []string {
0 commit comments