diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-14 08:53:05 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-14 08:53:05 -0800 |
commit | 1014764a109e7f8f47d466080962f5f344287277 (patch) | |
tree | e22ffd8894d0bfe5782f473157335366585f9493 /src | |
parent | 66e986ec02c417ba9387dbf906381bba598c3f00 (diff) |
Added empty clauses for DOCUMENT node to html and man writers.
For completeness.
Diffstat (limited to 'src')
-rw-r--r-- | src/html.c | 3 | ||||
-rw-r--r-- | src/man.c | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -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); @@ -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); |