mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
add test for fix in 9061c26e52
This commit is contained in:
parent
9061c26e52
commit
9395bbbbea
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue