diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 10:49:43 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-09 10:49:43 -0800 |
commit | d90bcbedb0b6dd20d41b42eba2f2cd5e0acf8aee (patch) | |
tree | 00d0da609bfe41e1d4b74ff108cf28082d07ff30 /src/xml.c | |
parent | e564e0af5c2f7b9732e89707655068e507579a89 (diff) |
Minor code reformatting.
Diffstat (limited to 'src/xml.c')
-rw-r--r-- | src/xml.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) { |