Re: roff(7) man page not rendering properly in its entirety on man.openbsd.org
Raf Czlonka wrote on Thu, Mar 16, 2017 at 10:56:23PM +0000:
> While looking at several manual pages on man.openbsd.org,
Thanks for testing, ...
> I've noticed that roff(7) man page does not render properly
> in its entirety,
... and for reporting.
> No idea what might be causing the issue, I'm afraid.
And thanks to Martin Natano for telling me what caused this.
Fixed by the commit below.
While the print_otag "i" (id) request intentionally accepts NULL
such that the same call can write the tag with or without id,
the <a> tag must not be written at all if we don't have an id.
Fix regression in mdoc_html.c 1.275, man_html 1.134:
For .Sh, .Ss, .SH, .SS, only write selflink if an id could be constructed.
Crash reported by Raf Czlonka <rczlonka at gmail dot com>,
analysis of root cause by natano@