summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-15 12:10:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-16 17:48:06 -0700
commitea343e83b173fd7c4a9dc9762a6502d788e65313 (patch)
tree46ca11f54226a4038be26dce3b4fb192653289df /src
parentbaf5d11e04dc93ae12127faa727daeb5d0b6a63e (diff)
is_blank: recognize tab as a blank character.
Diffstat (limited to 'src')
-rw-r--r--src/blocks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blocks.c b/src/blocks.c
index 4de5924..95a87c3 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -109,6 +109,9 @@ static bool is_blank(cmark_strbuf *s, bufsize_t offset)
case ' ':
offset++;
break;
+ case '\t':
+ offset++;
+ break;
default:
return false;
}