mirror of
https://github.com/russross/blackfriday.git
synced 2024-03-22 13:40:34 +08: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/",
|
||||
"<p><a href=\"/url/\">link</a></p>\n",
|
||||
|
||||
// Issue 172 in blackfriday
|
||||
"[]:<",
|
||||
"<p>[]:<</p>\n",
|
||||
}
|
||||
doLinkTestsInline(t, tests)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user