summaryrefslogtreecommitdiff
path: root/src/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xml.c b/src/xml.c
index df3e9a7..a06cdd3 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -105,10 +105,12 @@ static int S_render_node(cmark_node *node, cmark_event_type ev_type,
case CMARK_NODE_CUSTOM_BLOCK:
case CMARK_NODE_CUSTOM_INLINE:
cmark_strbuf_puts(xml, " on_enter=\"");
- escape_xml(xml, node->as.custom.on_enter.data, node->as.custom.on_enter.len);
+ escape_xml(xml, node->as.custom.on_enter.data,
+ node->as.custom.on_enter.len);
cmark_strbuf_putc(xml, '"');
cmark_strbuf_puts(xml, " on_exit=\"");
- escape_xml(xml, node->as.custom.on_exit.data, node->as.custom.on_exit.len);
+ escape_xml(xml, node->as.custom.on_exit.data,
+ node->as.custom.on_exit.len);
cmark_strbuf_putc(xml, '"');
break;
case CMARK_NODE_LINK: