CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2017/01/30 13:23:07
Modified files: usr.bin/mandoc : man_html.c Log message: 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.