From: Kyle Wheeler Date: Wed, 8 Aug 2007 17:49:33 +0000 (-0700) Subject: Trim whitespace in definition lists for man pages (closes #2941). X-Git-Tag: mutt-1-5-17-rel~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=64c36a3b94d9a1ae45ed81bcfbca8d4ef5912bad;p=mutt Trim whitespace in definition lists for man pages (closes #2941). --- diff --git a/makedoc.c b/makedoc.c index e519de12..4a8deb43 100644 --- a/makedoc.c +++ b/makedoc.c @@ -946,13 +946,13 @@ static int print_it (int special, char *str, FILE *out, int docstat) } case SP_START_DL: { - fputs ("\n.RS", out); + fputs (".RS\n.PD 0\n", out); docstat |= D_DL; break; } case SP_DT: { - fputs ("\n.IP ", out); + fputs (".TP\n", out); break; } case SP_DD: @@ -962,7 +962,7 @@ static int print_it (int special, char *str, FILE *out, int docstat) } case SP_END_DL: { - fputs ("\n.RE", out); + fputs (".RE\n.PD 1", out); docstat &= ~D_DL; break; }