summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-14 11:58:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-14 11:58:36 +0000
commite97c3f3af85655664c79a59519735abc8776f110 (patch)
tree876ffe97fcbba367f72e19d8622517f5caa554c1 /man_html.c
parent627a4caec7519aa0479398c3e48bdd78999d2fc8 (diff)
downloadmandoc-e97c3f3af85655664c79a59519735abc8776f110.tar.gz
Fixed \c handling in -Thtml.
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/man_html.c b/man_html.c
index 3864aa91..31c990de 100644
--- a/man_html.c
+++ b/man_html.c
@@ -188,7 +188,7 @@ print_man_node(MAN_ARGS)
break;
case (MAN_TEXT):
print_text(h, n->string);
- break;
+ return;
default:
if (mans[n->tok].pre)
child = (*mans[n->tok].pre)(m, n, h);
@@ -211,9 +211,6 @@ print_man_node(MAN_ARGS)
default:
if (mans[n->tok].post)
(*mans[n->tok].post)(m, n, h);
-
- /* Reset metafont upon exit from macro. */
- h->metafont = 0;
break;
}
}