FIX: Indented code blocks followed by <blockquote> weren't working.

This commit is contained in:
Robin Ward
2014-01-21 16:18:20 -05:00
parent d867fb62e4
commit e2c361f353
3 changed files with 11 additions and 4 deletions

View File

@ -321,6 +321,9 @@ test("Code Blocks", function() {
"<p><pre><code class=\"lang-auto\">[quote=&quot;sam, post:1, topic:9441, full:true&quot;]This is &#x60;&lt;not&gt;&#x60; a bug.[/quote]</code></pre></p>",
"it allows code with backticks in it");
cooked(" hello\n<blockquote>test</blockquote>",
"<pre><code>hello</code></pre>\n\n<blockquote>test</blockquote>",
"it allows an indented code block to by followed by a `<blockquote>`");
});
test("sanitize", function() {