mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 19:30:23 -06:00
add test for fix in 9061c26e52
This commit is contained in:
parent
9061c26e52
commit
9395bbbbea
@ -526,3 +526,9 @@ test("censoring", function() {
|
||||
"<p>you are a ■■■■■■■! I love cheesewhiz. ■■■■.</p>",
|
||||
"it censors words even if previous partial matches exist.");
|
||||
});
|
||||
|
||||
test("code blocks/spans hoisting", function() {
|
||||
cooked("```\n\n some code\n```",
|
||||
"<p><pre><code class=\"lang-auto\">some code</code></pre></p>",
|
||||
"it works when nesting standard markdown code blocks within a fenced code block");
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user