1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-11-26 20:14:43 +01:00

Add test for issue 172

This commit is contained in:
Tom Kwok 2016-04-03 21:08:32 +08:00
parent 232d06cf99
commit 69f51afe42

View File

@ -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>[]:&lt;</p>\n",
}
doLinkTestsInline(t, tests)
}