From b299be03398677fa2a396b649531183485da62e7 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sat, 26 Mar 2016 12:02:54 +0100 Subject: Reset partially_consumed_tab on every new line Fixes issue #114. --- src/blocks.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/blocks.c b/src/blocks.c index 00639cf..d10d1ca 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -1124,6 +1124,7 @@ static void S_process_line(cmark_parser *parser, const unsigned char *buffer, parser->offset = 0; parser->column = 0; parser->blank = false; + parser->partially_consumed_tab = false; input.data = parser->curline->ptr; input.len = parser->curline->size; -- cgit v1.2.3