mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +08:00
FIX: BBCode with params couldn't span lines
This commit is contained in:
@ -62,6 +62,9 @@ test("size tags", function() {
|
||||
format("[size=asdf]regular[/size]",
|
||||
"<span class=\"bbcode-size-1\">regular</span>",
|
||||
"it only supports numbers in bbcode");
|
||||
format("[size=35]\nNEWLINE\n[/size]",
|
||||
"<span class=\"bbcode-size-35\"><br>NEWLINE<br></span>",
|
||||
"works with newlines");
|
||||
});
|
||||
|
||||
test("quotes", function() {
|
||||
|
Reference in New Issue
Block a user