mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: You couldn't span multiple lines with bold or italics
This commit is contained in:
@@ -276,6 +276,10 @@ test("bold and italics", function() {
|
||||
cooked("**你hello**", "<p><strong>你hello</strong></p>", "allows bolded chinese");
|
||||
});
|
||||
|
||||
test("New Lines", function() {
|
||||
cooked("_abc\ndef_", "<p><em>abc<br>def</em></p>", "it allows markup to span new lines");
|
||||
});
|
||||
|
||||
test("Oneboxing", function() {
|
||||
|
||||
var matches = function(input, regexp) {
|
||||
|
||||
Reference in New Issue
Block a user