Revert previous, as requested by kristaps@.
authorschwarze <schwarze@openbsd.org>
Thu, 14 Aug 2014 00:29:12 +0000 (00:29 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 14 Aug 2014 00:29:12 +0000 (00:29 +0000)
commitd257d9425ccae9869bb6979f464b7d5507f9776b
tree982d225f1e1945fbe453a8710f3ce8dd1990beba
parentd9432de6029fc187dc9e45f1235ddf910454a9d9
Revert previous, as requested by kristaps@.
The .Bf block can contain subblocks, so it has to render as an
element that can contain flow content.  But <em> cannot contain
flow content, only phrasing content.  Rendering .Em and .Bf differently
would by unfortunate, and closing out .Bf before subblocks and
re-opening it afterwards would merely complicate both the C code
of the program and the generated HTML code.  Besides, converting
.Em to semantic HTML markup would require some content to be put
into <em> and some into <i>, but we cannot automatically distinguish
which is which, so strictly speaking, we can't use semantic HTML
here but have to fall back to physical markup.  Wonders of HTML...
usr.bin/mandoc/html.c
usr.bin/mandoc/html.h
usr.bin/mandoc/mdoc_html.c