summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-07-13 12:05:39 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-07-13 12:05:39 -0700
commit9ae20a09c5f745e7d0b2866351291c60a8c8f61d (patch)
tree9212f2e70f2b134adb0f03150c9834e6b9642e6a
parenta47d3332c073ec3d0420d0b7947544b0f26d910f (diff)
Replaced check for `\n` with `S_is_line_end_char`.
-rw-r--r--src/blocks.c2
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;
}
}