diff --git a/test/javascripts/lib/markdown-test.js.es6 b/test/javascripts/lib/markdown-test.js.es6 index a2bfb9faefa..6ae727c5504 100644 --- a/test/javascripts/lib/markdown-test.js.es6 +++ b/test/javascripts/lib/markdown-test.js.es6 @@ -526,3 +526,9 @@ test("censoring", function() { "
you are a ■■■■■■■! I love cheesewhiz. ■■■■.
", "it censors words even if previous partial matches exist."); }); + +test("code blocks/spans hoisting", function() { + cooked("```\n\n some code\n```", + "some code
",
+ "it works when nesting standard markdown code blocks within a fenced code block");
+});