- Commit
- 1014764a109e7f8f47d466080962f5f344287277
- Parent
- 66e986ec02c417ba9387dbf906381bba598c3f00
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Added empty clauses for DOCUMENT node to html and man writers.
For completeness.
My personal build of CMark ✏️
Added empty clauses for DOCUMENT node to html and man writers.
For completeness.
2 files changed, 6 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/html.c | 3 | 3 | 0 |
Modified | src/man.c | 3 | 3 | 0 |
diff --git 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 @@ -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);