summaryrefslogtreecommitdiffstats
path: root/mdoc_markdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_markdown.c')
-rw-r--r--mdoc_markdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_markdown.c b/mdoc_markdown.c
index 6b8b0841..e9259744 100644
--- a/mdoc_markdown.c
+++ b/mdoc_markdown.c
@@ -294,7 +294,7 @@ md_node(struct roff_node *n)
const struct md_act *act;
int cond, process_children;
- if (n->flags & NODE_NOPRT)
+ if (n->type == ROFFT_COMMENT || n->flags & NODE_NOPRT)
return;
if (outflags & MD_nonl)