summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2016-03-26 12:02:54 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2016-03-26 12:02:54 +0100
commitb299be03398677fa2a396b649531183485da62e7 (patch)
treedb440d5be37bb7a6fc223066474b803fdc9dd063
parent565f01476b463149bbc04ed6a2f7362f884481d1 (diff)
Reset partially_consumed_tab on every new line
Fixes issue #114.
-rw-r--r--src/blocks.c1
1 files changed, 1 insertions, 0 deletions
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;