summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-11-10 12:03:29 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-11-10 12:03:29 +0000
commit0be12c72e2c3f5d55746f1f8b222ec058a0fa10b (patch)
tree253945ea2e9f939d7d80e0039d89124851301ba3 /man_html.c
parent876f41fda129a014ca0587ee5be314bcbf7bb683 (diff)
downloadmandoc-0be12c72e2c3f5d55746f1f8b222ec058a0fa10b.tar.gz
Noted that -man text decoration is re-set when exiting a macro invocation.
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/man_html.c b/man_html.c
index b9a3166e..3864aa91 100644
--- a/man_html.c
+++ b/man_html.c
@@ -211,6 +211,9 @@ 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;
}
}