mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Indented code blocks followed by <blockquote>
weren't working.
This commit is contained in:
parent
d867fb62e4
commit
e2c361f353
3 changed files with 11 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue