diff options
-rw-r--r-- | src/cmark.h | 2 | ||||
-rw-r--r-- | src/iterator.c | 2 | ||||
-rw-r--r-- | src/xml.c | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/cmark.h b/src/cmark.h index 84a15c8..72650c9 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -189,7 +189,7 @@ cmark_iter_free(cmark_iter *iter); CMARK_EXPORT void cmark_iter_reset(cmark_iter *iter, cmark_node *current, - cmark_event_type event_type); + cmark_event_type event_type); /** Returns the event type (`CMARK_EVENT_ENTER`, `CMARK_EVENT_EXIT`, * or `CMARK_EVENT_DONE`) for the next node. diff --git a/src/iterator.c b/src/iterator.c index 2c15246..a3ae415 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -50,7 +50,7 @@ int S_is_leaf(cmark_node *node) void cmark_iter_reset(cmark_iter *iter, cmark_node *current, - cmark_event_type event_type) + cmark_event_type event_type) { iter->event_type = event_type; iter->current = current; @@ -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) { |