diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-26 18:28:18 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-26 18:28:18 +0000 |
commit | 235ae1a6a0c472285b2c9310fe2e27c03a80393d (patch) | |
tree | b17150962d8d551f194058cfd460dfe4b358985b /man_term.c | |
parent | 596fca22f9c5c89fa592c0edf80c10f94529b3a6 (diff) | |
download | mandoc-235ae1a6a0c472285b2c9310fe2e27c03a80393d.tar.gz |
Fix -man -Thtml formatting after .nf (which has nothing to do
with "literal", by the way, it means "no fill"):
* Use <pre> such that whitespace is preserved.
* Preserve lines breaks.
* For font alternating macros, avoid node recursion which required
scary juggling with the fill state. Instead, simply print the text
children directly.
Missing feature first noticed by kristaps@ in 2011,
the again reported by afresh1@ in 2016,
and finally reported here: https://github.com/Debian/debiman/issues/21 ,
which i only found because of Shane Kerr's comment here:
https://plus.google.com/110314300533310775053/posts/H1eaw9Yskoc
Diffstat (limited to 'man_term.c')
0 files changed, 0 insertions, 0 deletions