summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_term.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-01-05 09:14:11 +0000
committerschwarze <schwarze@openbsd.org>2019-01-05 09:14:11 +0000
commit275804ace8a4c573e68620ffef0dc558673a3d94 (patch)
tree9690b68fc6a15e9c7156e409858e4324fb540fd4 /usr.bin/mandoc/man_term.c
parentno-fill mode has to be suspended during tbl(7) rendering, too (diff)
downloadwireguard-openbsd-275804ace8a4c573e68620ffef0dc558673a3d94.tar.xz
wireguard-openbsd-275804ace8a4c573e68620ffef0dc558673a3d94.zip
Now that the NODE_NOFILL flag in the syntax tree is accurate,
use it in the man(7) HTML formatter rather than keeping fill mode state locally, resulting in massive simplification (minus 40 LOC). Move the html_fillmode() state handler function to the html.c module such that both the man(7) and the roff(7) formatter (and in the future, also the mdoc(7) formatter) can use it. Give it a query mode, to be invoked with TOKEN_NONE.
Diffstat (limited to 'usr.bin/mandoc/man_term.c')
0 files changed, 0 insertions, 0 deletions