mirror of
https://github.com/danog/blackfriday.git
synced 2024-11-30 04:29:13 +01:00
Added test for link inside image
This commit is contained in:
parent
3f24fadb28
commit
da8f2753e2
@ -390,6 +390,9 @@ func TestInlineLink(t *testing.T) {
|
||||
"[link]( with whitespace )\n",
|
||||
"<p><a href=\"with whitespace\">link</a></p>\n",
|
||||
|
||||
"[![image](someimage)](with image)\n",
|
||||
"<p><a href=\"with image\"><img src=\"someimage\" alt=\"image\" />\n</a></p>\n",
|
||||
|
||||
"[link](url \"one quote)\n",
|
||||
"<p><a href=\"url "one quote\">link</a></p>\n",
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user