diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-10 12:03:29 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-10 12:03:29 +0000 |
commit | 02b3298e7df190d17c1e5726e60fa2735a609206 (patch) | |
tree | 02dcdba838273dcb7d46c00f4e004b0cdc2c6b4f /man_html.c | |
parent | 2ab52c64b986eeab0f0c567f016ec05fe00ef26a (diff) | |
download | mandoc-02b3298e7df190d17c1e5726e60fa2735a609206.tar.gz mandoc-02b3298e7df190d17c1e5726e60fa2735a609206.tar.zst mandoc-02b3298e7df190d17c1e5726e60fa2735a609206.zip |
Noted that -man text decoration is re-set when exiting a macro invocation.
Diffstat (limited to 'man_html.c')
-rw-r--r-- | man_html.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.17 2009/10/30 18:53:08 kristaps Exp $ */ +/* $Id: man_html.c,v 1.18 2009/11/10 12:03:30 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -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; } } |