mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 04:57:45 +08:00
FIX: Indented code blocks followed by <blockquote>
weren't working.
This commit is contained in:
@ -321,6 +321,9 @@ test("Code Blocks", function() {
|
||||
"<p><pre><code class=\"lang-auto\">[quote="sam, post:1, topic:9441, full:true"]This is `<not>` 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() {
|
||||
|
Reference in New Issue
Block a user