From e8809f7e448bffc51adac1f2e143d99496d6a55f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 22 Nov 2014 21:06:13 -0800 Subject: Updated JS and C implementations for #209. A setext header was being treated a if it were a blank line for purposes of tight/loose list determination. Closes #209. --- src/blocks.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/blocks.c') diff --git a/src/blocks.c b/src/blocks.c index a30560f..48ca7e7 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -728,6 +728,7 @@ void cmark_process_line(cmark_doc_parser *parser, const char *buffer, // on an empty list item. container->last_line_blank = (blank && container->type != NODE_BQUOTE && + container->type != NODE_SETEXT_HEADER && container->type != NODE_FENCED_CODE && !(container->type == NODE_LIST_ITEM && container->first_child == NULL && -- cgit v1.2.3