russross/blackfriday

Code block inside a quoted block; the whole then followed by a code block -- doesn't work

kaushalmodi opened this issue · 0 comments

Hello,

For whatever reason, I came across this corner case that Blackfriday fails to render.

This works

Some text.

> Some quoted text.
>
> ```emacs-lisp
> (message "hello")
> ```

Some other text.

That renders to (via Hugo) as:

image

This does not work

Some text.

> Some quoted text.
>
> ```emacs-lisp
> (message "hello")
> ```

```emacs-lisp
(message "hello again")
```

Some other text.

But above does this:

image