- Commit
- 9ae20a09c5f745e7d0b2866351291c60a8c8f61d
- Parent
- a47d3332c073ec3d0420d0b7947544b0f26d910f
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Replaced check for `\n` with `S_is_line_end_char`.
My personal build of CMark ✏️
Replaced check for `\n` with `S_is_line_end_char`.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/blocks.c | 2 | 1 | 1 |
diff --git a/src/blocks.c b/src/blocks.c @@ -445,7 +445,7 @@ static bufsize_t parse_list_marker(cmark_mem *mem, cmark_chunk *input, while (S_is_space_or_tab(peek_at(input, i))) { i++; } - if (peek_at(input, i) == '\n') { + if (S_is_line_end_char(peek_at(input, i))) { return 0; } }