diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-30 19:45:01 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-30 19:45:01 -0700 |
commit | c31a0fc3cdf541ac58b726520ac27a1fec21e094 (patch) | |
tree | d10e8cc53be9d15472221ebc9d4a524ad76d5d94 | |
parent | 6c46061340369c1aa1b353f44fb543a3e3a00ca1 (diff) | |
download | man-c31a0fc3cdf541ac58b726520ac27a1fec21e094.tar.gz man-c31a0fc3cdf541ac58b726520ac27a1fec21e094.tar.bz2 man-c31a0fc3cdf541ac58b726520ac27a1fec21e094.zip |
.nf/.fi: don't fiddle with fonts.
Changing into or out of fill out mode should not be resetting
to font 0; this is completely stupid. There is no such
semantics in troff. The TXR man page sets up a monospace font
around the verbatim blocks, which generates a <tt>.
But because of this behavior, that gets canceled with a </tt>
before switching to <pre>.
-rw-r--r-- | man2html/man2html.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/man2html/man2html.c b/man2html/man2html.c index ead4ac8..083e556 100644 --- a/man2html/man2html.c +++ b/man2html/man2html.c @@ -1829,8 +1829,6 @@ scan_request(char *c) { break; case V('f','i'): if (!fillout) { - out_html(change_to_font(0)); - out_html(change_to_size('0')); out_html("</pre>\n"); } curpos=0; @@ -1942,8 +1940,6 @@ scan_request(char *c) { } case V('n','f'): if (fillout) { - out_html(change_to_font(0)); - out_html(change_to_size('0')); out_html("<pre>\n"); } curpos=0; |