summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index dc8d468c..c415909c 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -424,7 +424,7 @@ print_mdoc_node(MDOC_ARGS)
break;
case (MDOC_TEXT):
print_text(h, n->string);
- break;
+ return;
default:
if (mdocs[n->tok].pre)
child = (*mdocs[n->tok].pre)(m, n, h);
@@ -441,8 +441,6 @@ print_mdoc_node(MDOC_ARGS)
case (MDOC_ROOT):
mdoc_root_post(m, n, h);
break;
- case (MDOC_TEXT):
- break;
default:
if (mdocs[n->tok].post)
(*mdocs[n->tok].post)(m, n, h);