mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
Extra test for spanning italics
This commit is contained in:
@ -278,6 +278,7 @@ test("bold and italics", function() {
|
|||||||
|
|
||||||
test("New Lines", function() {
|
test("New Lines", function() {
|
||||||
cooked("_abc\ndef_", "<p><em>abc<br>def</em></p>", "it allows markup to span new lines");
|
cooked("_abc\ndef_", "<p><em>abc<br>def</em></p>", "it allows markup to span new lines");
|
||||||
|
cooked("_abc\n\ndef_", "<p>_abc</p>\n\n<p>def_</p>", "it does not allow markup to span new paragraphs");
|
||||||
});
|
});
|
||||||
|
|
||||||
test("Oneboxing", function() {
|
test("Oneboxing", function() {
|
||||||
|
Reference in New Issue
Block a user