diff --git a/src/blocks.c b/src/blocks.c
@@ -384,7 +384,7 @@ static void process_inlines(cmark_mem *mem, cmark_node *root,
// data with the details. On failure, returns 0.
static bufsize_t parse_list_marker(cmark_mem *mem, cmark_chunk *input,
bufsize_t pos, bool interrupts_paragraph,
- cmark_list **dataptr) {
+ cmark_list **dataptr) {
unsigned char c;
bufsize_t startpos;
cmark_list *data;
@@ -406,7 +406,7 @@ static bufsize_t parse_list_marker(cmark_mem *mem, cmark_chunk *input,
i++;
}
if (peek_at(input, i) == '\n') {
- return 0;
+ return 0;
}
}
@@ -446,7 +446,7 @@ static bufsize_t parse_list_marker(cmark_mem *mem, cmark_chunk *input,
i++;
}
if (S_is_line_end_char(peek_at(input, i))) {
- return 0;
+ return 0;
}
}
@@ -882,8 +882,8 @@ static void open_new_blocks(cmark_parser *parser, cmark_node **container,
S_advance_offset(parser, input,
parser->first_nonspace + matched - parser->offset,
false);
- *container =
- add_child(parser, *container, CMARK_NODE_HEADING, heading_startpos + 1);
+ *container = add_child(parser, *container, CMARK_NODE_HEADING,
+ heading_startpos + 1);
hashpos = cmark_chunk_strchr(input, '#', parser->first_nonspace);
@@ -933,12 +933,10 @@ static void open_new_blocks(cmark_parser *parser, cmark_node **container,
*container = add_child(parser, *container, CMARK_NODE_THEMATIC_BREAK,
parser->first_nonspace + 1);
S_advance_offset(parser, input, input->len - 1 - parser->offset, false);
- } else if ((matched = parse_list_marker(parser->mem, input,
- parser->first_nonspace,
- (*container)->type ==
- CMARK_NODE_PARAGRAPH,
- &data)) &&
- (!indented || cont_type == CMARK_NODE_LIST)) {
+ } else if ((matched = parse_list_marker(
+ parser->mem, input, parser->first_nonspace,
+ (*container)->type == CMARK_NODE_PARAGRAPH, &data)) &&
+ (!indented || cont_type == CMARK_NODE_LIST)) {
// Note that we can have new list items starting with >= 4
// spaces indent, as long as the list container is still open.