From 9ae20a09c5f745e7d0b2866351291c60a8c8f61d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 13 Jul 2016 12:05:39 -0700 Subject: Replaced check for `\n` with `S_is_line_end_char`. --- src/blocks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/blocks.c') diff --git a/src/blocks.c b/src/blocks.c index 84d20a4..7627f6e 100644 --- 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; } } -- cgit v1.2.3