From 74b8d5112618021ff48a1c5671a4e86a3d6bc1ce Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 16 Nov 2009 08:46:58 +0000 Subject: Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1). --- mdoc_html.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mdoc_html.c') 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 * @@ -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); -- cgit v1.2.3