russross / blackfriday

Blackfriday: a markdown processor for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

kaushalmodi opened this issue · 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