cmark

My personal build of CMark ✏️

Commit
ea343e83b173fd7c4a9dc9762a6502d788e65313
Parent
baf5d11e04dc93ae12127faa727daeb5d0b6a63e
Author
John MacFarlane <jgm@berkeley.edu>
Date

is_blank: recognize tab as a blank character.

Diffstat

1 file changed, 3 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified src/blocks.c 3 3 0
diff --git 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;
 		}