summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-30 20:24:02 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-30 20:24:02 +0000
commit2808dd863a3805a478f57075aea740986ccbb9e6 (patch)
tree23bbc5f48e340547c5b58232306bca42d0e41525 /mandoc.1
parentdb2b5ef38c2f1862472b7a9ccf6af9dac7551eb5 (diff)
downloadmandoc-2808dd863a3805a478f57075aea740986ccbb9e6.tar.gz
Rework fill mode handling for -man -Thtml.
Basically, open <pre> whenever printing text in no-fill mode and it is not already open, and close it whenever printing something that cannot be inside <pre>. This fixes a crash reported by Michael <Stapelberg at debian dot org> in the French Linux chroot(2) manual and also improves rendering for OpenBSD pages like DPMSGetTimeouts(3) and GLwDrawingArea(3). These changes also permitted retiring struct mhtml.
Diffstat (limited to 'mandoc.1')
0 files changed, 0 insertions, 0 deletions