Add test for issue 172

pull/250/head
Tom Kwok 2016-04-03 21:08:32 +08:00
parent 232d06cf99
commit 69f51afe42
1 changed files with 4 additions and 0 deletions

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)
}