summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/html.c3
-rw-r--r--src/man.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/html.c b/src/html.c
index a77cd21..e733a48 100644
--- a/src/html.c
+++ b/src/html.c
@@ -77,6 +77,9 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate)
}
switch (node->type) {
+ case CMARK_NODE_DOCUMENT:
+ break;
+
case CMARK_NODE_BLOCK_QUOTE:
if (entering) {
cr(html);
diff --git a/src/man.c b/src/man.c
index 3058b25..31247cb 100644
--- a/src/man.c
+++ b/src/man.c
@@ -76,6 +76,9 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, void *vstate)
}
switch (node->type) {
+ case CMARK_NODE_DOCUMENT:
+ break;
+
case CMARK_NODE_BLOCK_QUOTE:
if (entering) {
cr(man);