summaryrefslogtreecommitdiff
path: root/src/blocks.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-28 16:05:42 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-28 16:05:42 -0800
commit11a29f6219ab9c72c0863e47ba386d7b3e1162d5 (patch)
tree7811d042876a5e6061e5543e48ec2e42f75e8aa5 /src/blocks.c
parentc22b173c1fee932a9469f95c71f74a9ec0ca1784 (diff)
Reformat sources.
Diffstat (limited to 'src/blocks.c')
-rw-r--r--src/blocks.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/blocks.c b/src/blocks.c
index 75d005d..773179e 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -336,7 +336,8 @@ static void process_inlines(cmark_node *root, cmark_reference_map *refmap,
while ((ev_type = cmark_iter_next(iter)) != CMARK_EVENT_DONE) {
cur = cmark_iter_get_node(iter);
if (ev_type == CMARK_EVENT_ENTER) {
- if (cur->type == CMARK_NODE_PARAGRAPH || cur->type == CMARK_NODE_HEADING) {
+ if (cur->type == CMARK_NODE_PARAGRAPH ||
+ cur->type == CMARK_NODE_HEADING) {
cmark_parse_inlines(cur, refmap, options);
}
}
@@ -812,7 +813,8 @@ static void S_process_line(cmark_parser *parser, const unsigned char *buffer,
} else if (!indented &&
!(container->type == CMARK_NODE_PARAGRAPH && !all_matched) &&
- (matched = scan_thematic_break(&input, parser->first_nonspace))) {
+ (matched =
+ scan_thematic_break(&input, parser->first_nonspace))) {
// it's only now that we know the line is not part of a setext heading:
container = add_child(parser, container, CMARK_NODE_THEMATIC_BREAK,