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 | 74b8d5112618021ff48a1c5671a4e86a3d6bc1ce (patch) | |
tree | a6aebe43361d7eb3751f8a2dcd1197fa1a7a9510 /mdoc_html.c | |
parent | 22c7cae08d6738c1f72bb810050cc88010d6d7b3 (diff) | |
download | mandoc-74b8d5112618021ff48a1c5671a4e86a3d6bc1ce.tar.gz mandoc-74b8d5112618021ff48a1c5671a4e86a3d6bc1ce.tar.zst mandoc-74b8d5112618021ff48a1c5671a4e86a3d6bc1ce.zip |
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 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index df14ea61..fa8fcbf3 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.47 2009/11/14 12:04:59 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.48 2009/11/16 08:46:59 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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); |