mirror of
https://github.com/danog/blackfriday.git
synced 2024-11-30 04:29:13 +01:00
Add test for issue 172
This commit is contained in:
parent
232d06cf99
commit
69f51afe42
@ -722,6 +722,10 @@ func TestReferenceLink(t *testing.T) {
|
|||||||
|
|
||||||
"[link][ref]\n [ref]: /url/",
|
"[link][ref]\n [ref]: /url/",
|
||||||
"<p><a href=\"/url/\">link</a></p>\n",
|
"<p><a href=\"/url/\">link</a></p>\n",
|
||||||
|
|
||||||
|
// Issue 172 in blackfriday
|
||||||
|
"[]:<",
|
||||||
|
"<p>[]:<</p>\n",
|
||||||
}
|
}
|
||||||
doLinkTestsInline(t, tests)
|
doLinkTestsInline(t, tests)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user