mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Workaround markdown-js links parser bug
This commit is contained in:
parent
76824cda31
commit
b8f5c21df0
2 changed files with 5 additions and 1 deletions
|
@ -138,6 +138,10 @@ test("Links", function() {
|
|||
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");
|
||||
|
||||
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")
|
||||
});
|
||||
|
||||
test("simple quotes", function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue