mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: Markdown bug
This commit is contained in:
parent
981d8f6aea
commit
4a32cddf80
2 changed files with 7 additions and 2 deletions
|
@ -50,6 +50,10 @@ test("Traditional Line Breaks", function() {
|
|||
cooked(input, traditionalOutput, "It supports traditional markdown via a Site Setting");
|
||||
});
|
||||
|
||||
test("Unbalanced underscores", function() {
|
||||
cooked("[evil_trout][1] hello_\n\n[1]: http://eviltrout.com", "<p><a href=\"http://eviltrout.com\">evil_trout</a> hello_</p>");
|
||||
});
|
||||
|
||||
test("Line Breaks", function() {
|
||||
cooked("[] first choice\n[] second choice",
|
||||
"<p>[] first choice<br/>[] second choice</p>",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue