summaryrefslogtreecommitdiff
path: root/sys/dev/ic/adv.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2017-01-30 20:23:08 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2017-01-30 20:23:08 +0000
commita8e1b6f6ab123513ccd4086b527c78b65fb36f80 (patch)
treedd053b9b0e94ee7737f12e5cdbf43ac4e36b3c40 /sys/dev/ic/adv.c
parente313b9a6b0d21a926008e6da9840f8b8e8f58f4c (diff)
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 'sys/dev/ic/adv.c')
0 files changed, 0 insertions, 0 deletions