Commit c5fa9a70947e7742876622bb6d7ce0b1252b8d06

Martin Mitas 2016-12-01T22:16:50

md_analyze_line: Closing code fence cannot have list loosening effect.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/md4c/md4c.c b/md4c/md4c.c
index 3e7cbb4..6044772 100644
--- a/md4c/md4c.c
+++ b/md4c/md4c.c
@@ -4803,6 +4803,7 @@ redo:
         if(line->indent < ctx->code_indent_offset) {
             if(md_is_closing_code_fence(ctx, CH(pivot_line->beg), off, &off)) {
                 line->type = MD_LINE_BLANK;
+                ctx->last_line_has_list_loosening_effect = FALSE;
                 goto done;
             }
         }