Skip to content

Commit 503e393

Browse files
committed
json build fix syntax errors
1 parent a2fdb44 commit 503e393

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ static char *process_md (const char *input, size_t *len) {
244244

245245
case '[':
246246
case ']':
247+
case '\t':
247248
case '*': {
248249
// skip character
249250
continue;
@@ -255,7 +256,8 @@ static char *process_md (const char *input, size_t *len) {
255256
break;
256257
}
257258

258-
case '"': {
259+
case '"':
260+
case '\\': {
259261
if (json_mode) buffer[j++] = '\\';
260262
break;
261263
}

0 commit comments

Comments
 (0)