When a markdown quoted section using 4-space indentation was converted
to nroff, managen previously caused a newline to appear after the
leading .nf. This fix makes sure that newline is inserted *before* .nf
as intended.
This is perhaps most notable in the HTML version of rendered manpages if
the quoted sections use different colors or similar.
Closes #14732
elsif($d =~ /^ (.*)/) {
my $word = $1;
if(!$quote && $manpage) {
+ push @desc, "\n" if($blankline);
push @desc, ".nf\n";
+ $blankline = 0;
}
$quote = 1;
$d = "$word\n";
aware and be careful when sharing trace logs with others.
End with a quote
-.nf
+.nf
hello
.fi