summaryrefslogtreecommitdiff
path: root/src/xml.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-22 22:41:33 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-22 22:41:33 -0800
commitde6c5fb2c45dfa2791074f7d99a27b23b2106dfc (patch)
tree7416568ce255cfcaa14e3a8901966df0c5a2c906 /src/xml.c
parenta74295a1ea686611498a75dd45597d224ce99287 (diff)
CMARK_NODE_HEADER -> CMARK_NODE_HEADING.
Defined CMARK_NODE_HEADER to CMARK_NODE_HEADING to ease the transition.
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml.c b/src/xml.c
index 65f8527..939a821 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -86,7 +86,7 @@ static int S_render_node(cmark_node *node, cmark_event_type ev_type,
(cmark_node_get_list_tight(node) ? "true" : "false"));
cmark_strbuf_puts(xml, buffer);
break;
- case CMARK_NODE_HEADER:
+ case CMARK_NODE_HEADING:
sprintf(buffer, " level=\"%d\"", node->as.heading.level);
cmark_strbuf_puts(xml, buffer);
break;