CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2019/09/03 09:09:39
Modified files: usr.bin/mandoc : mdoc_html.c Log message: Format .Nd with more logically with <span> rather than <div>; after all, it is supposed to be a one-line description. For the case where .Nd generates flow content (which is very bad style but syntactically valid), rely on the new feature of html_close_paragraph() to close out the <span> prematurely, effectively moving the flow content out of the .Nd for HTML presentation. For the final closing, also rely on the new html_close_paragraph() functionality, this time triggered by the subsequent block, which will typically be .Sh SYNOPSIS.