mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 06:28:11 +08:00
Added test for markdown bug with linking [ul]
and [poll]
This commit is contained in:
@ -150,6 +150,10 @@ test("Links", function() {
|
||||
cooked("[Link](http://www.example.com) (with an outer \"description\")",
|
||||
"<p><a href=\"http://www.example.com\">Link</a> (with an outer \"description\")</p>",
|
||||
"it doesn't consume closing parens as part of the url");
|
||||
|
||||
cooked("[ul][1]\n\n[1]: http://eviltrout.com",
|
||||
"<p><a href=\"http://eviltrout.com\">ul</a></p>",
|
||||
"it can use `ul` as a link name");
|
||||
});
|
||||
|
||||
test("simple quotes", function() {
|
||||
|
Reference in New Issue
Block a user