mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 07:07:43 +08:00
FIX: Work with phpBB import style links with ellipsis
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user