FIX: Work with phpBB import style links with ellipsis

This commit is contained in:
Robin Ward
2014-07-14 14:26:48 -04:00
parent 42dcb77d93
commit 1886ffaff2
4 changed files with 25 additions and 23 deletions

View File

@ -142,6 +142,10 @@ test("Links", function() {
"It does not consider references that are obviously not URLs");
cooked("<small>http://eviltrout.com</small>", "<p><small><a href=\"http://eviltrout.com\">http://eviltrout.com</a></small></p>", "Links within HTML tags");
cooked("[http://google.com ... wat](http://discourse.org)",
"<p><a href=\"http://discourse.org\">http://google.com ... wat</a></p>",
"it supports linkins within links");
});
test("simple quotes", function() {