diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-16 08:46:58 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-16 08:46:58 +0000 |
commit | 56f40bd031737edaae27afbb34b7dd5ba75defd7 (patch) | |
tree | 7f20ea5247dd3a30d96040682ef9c5db8f9aa9fe /mdoc_html.c | |
parent | 77a404388af995dd280b4021ca59a652c5cc2982 (diff) | |
download | mandoc-56f40bd031737edaae27afbb34b7dd5ba75defd7.tar.gz |
Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1).
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 4 |
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); |