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