commit 12b16001b76c017854da2c5f642ed1f3c070591b parent 3f95f0653778ea5c1a54a26453051f0c1c20667f Author: Martin Mitas <mity@morous.org> Date: Thu, 1 Dec 2016 21:48:42 +0100 md_analyze_line: Blank line inside a blockquote cannot have a list loosening effect. Diffstat:
| M | md4c/md4c.c | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/md4c/md4c.c b/md4c/md4c.c @@ -4857,7 +4857,9 @@ redo: ctx->last_line_has_list_loosening_effect = FALSE; } else { line->type = MD_LINE_BLANK; - ctx->last_line_has_list_loosening_effect = (n_brothers + n_children == 0); + ctx->last_line_has_list_loosening_effect = (n_parents > 0 && + n_brothers + n_children == 0 && + ctx->containers[n_parents-1].ch != _T('>')); } goto done; } else {