summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-03-26 12:24:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-03-26 12:24:05 -0700
commit471907a36c8473abe6117bf5ac8902d94c367291 (patch)
tree4d03824279a2b7d840d0f1aba4de7f980ebaf4d0
parente2b08df1099f43e618596aa60a0ce38589f20287 (diff)
parentb299be03398677fa2a396b649531183485da62e7 (diff)
Merge pull request #115 from nwellnhof/tab-fix
Reset partially_consumed_tab on every new line
-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;