diff options
author | John MacFarlane <[email protected]> | 2014-12-14 08:18:27 -0800 |
---|---|---|
committer | John MacFarlane <[email protected]> | 2014-12-14 08:18:27 -0800 |
commit | 66e986ec02c417ba9387dbf906381bba598c3f00 (patch) | |
tree | e0b5b7d693010e18846fbe210338ed90ae6761b2 /src/html.c | |
parent | 6df2047d90d81e6269a37e7e6843211edf4ba3c6 (diff) |
Rename CMARK_NODE_INLINE_CODE -> CMARK_NODE_CODE.
Diffstat (limited to 'src/html.c')
-rw-r--r-- | src/html.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -59,7 +59,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate) if (state->plain != NULL) { switch(node->type) { case CMARK_NODE_TEXT: - case CMARK_NODE_INLINE_CODE: + case CMARK_NODE_CODE: case CMARK_NODE_INLINE_HTML: escape_html(html, node->as.literal.data, node->as.literal.len); @@ -197,7 +197,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate) strbuf_putc(html, '\n'); break; - case CMARK_NODE_INLINE_CODE: + case CMARK_NODE_CODE: strbuf_puts(html, "<code>"); escape_html(html, node->as.literal.data, node->as.literal.len); strbuf_puts(html, "</code>"); |