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 | 94cd81895ea53a20400d13b0e9c2bcf756ed382b (patch) | |
tree | 50b3e1fee66e1d75b3a5657a0824cd0c83b8540c /TODO | |
parent | 5db55ac9e2491b9cdf973e2d4cb7ed9596b00566 (diff) | |
download | mandoc-94cd81895ea53a20400d13b0e9c2bcf756ed382b.tar.gz mandoc-94cd81895ea53a20400d13b0e9c2bcf756ed382b.tar.zst mandoc-94cd81895ea53a20400d13b0e9c2bcf756ed382b.zip |
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 'TODO')
-rw-r--r-- | TODO | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -1,6 +1,6 @@ ************************************************************************ * Official mandoc TODO. -* $Id: TODO,v 1.224 2017/01/25 02:14:43 schwarze Exp $ +* $Id: TODO,v 1.225 2017/01/26 18:28:18 schwarze Exp $ ************************************************************************ Many issues are annotated for difficulty as follows: @@ -193,10 +193,6 @@ are mere guesses, and some may be wrong. uqs@ Thu, 2 Jun 2011 11:33:35 +0200 loc * exist ** algo *** size * imp ** ---- missing man features ----------------------------------------------- - -- -T[x]html doesn't stipulate non-collapsing spaces in literal mode - --- missing tbl features ----------------------------------------------- - horizontal lines in the layout still consume data cells @@ -408,11 +404,6 @@ are mere guesses, and some may be wrong. --- HTML issues -------------------------------------------------------- -- In -man -Thtml, .nf does not preserve indentation. - It should either convert blanks to - or use <pre> rather than <div> (like .Bd -literal does). - Reported by afresh1@ 12 Apr 2016 14:35:45 -0700 - - .Bf at the beginning of a paragraph inserts a bogus 1ex horizontal space, see for example random(3). Introduced in http://mdocml.bsd.lv/cgi-bin/cvsweb/mdoc_html.c.diff?r1=1.91&r2=1.92 |