Avoid problems with multi-line NAME sections.

This commit is contained in:
Bodo Möller 2001-03-08 21:52:53 +00:00
parent 20a9b1a7cf
commit 4ea3855514

View File

@ -416,6 +416,8 @@ if ($name ne 'something') {
warn "$0: Improper man page - malformed NAME header in paragraph $. of $ARGV[0]\n"
}
else {
$n[0] =~ s/\n/ /;
$n[1] =~ s/\n/ /;
%namedesc = @n;
}
}