summaryrefslogtreecommitdiff
path: root/src/xml.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-09 10:49:43 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-09 10:49:43 -0800
commitd90bcbedb0b6dd20d41b42eba2f2cd5e0acf8aee (patch)
tree00d0da609bfe41e1d4b74ff108cf28082d07ff30 /src/xml.c
parente564e0af5c2f7b9732e89707655068e507579a89 (diff)
Minor code reformatting.
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xml.c b/src/xml.c
index ae85018..6689997 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -76,14 +76,14 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
case CMARK_ORDERED_LIST:
cmark_strbuf_puts(xml, " type=\"ordered\"");
cmark_strbuf_printf(xml, " start=\"%d\"",
- cmark_node_get_list_start(node));
+ cmark_node_get_list_start(node));
delim = cmark_node_get_list_delim(node);
if (delim == CMARK_PAREN_DELIM) {
cmark_strbuf_puts(xml,
- " delim=\"paren\"");
+ " delim=\"paren\"");
} else if (delim == CMARK_PERIOD_DELIM) {
cmark_strbuf_puts(xml,
- " delim=\"period\"");
+ " delim=\"period\"");
}
break;
case CMARK_BULLET_LIST:
@@ -93,8 +93,8 @@ S_render_node(cmark_node *node, cmark_event_type ev_type,
break;
}
cmark_strbuf_printf(xml, " tight=\"%s\"",
- (cmark_node_get_list_tight(node) ?
- "true" : "false"));
+ (cmark_node_get_list_tight(node) ?
+ "true" : "false"));
break;
case CMARK_NODE_CODE_BLOCK:
if (node->as.code.info.len > 0) {