diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-07-13 12:05:39 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-07-13 12:05:39 -0700 |
commit | 9ae20a09c5f745e7d0b2866351291c60a8c8f61d (patch) | |
tree | 9212f2e70f2b134adb0f03150c9834e6b9642e6a /src | |
parent | a47d3332c073ec3d0420d0b7947544b0f26d910f (diff) |
Replaced check for `\n` with `S_is_line_end_char`.
Diffstat (limited to 'src')
-rw-r--r-- | src/blocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |