Avoid problems with multi-line NAME sections.

This commit is contained in:
Bodo Möller 2001-03-08 21:53:01 +00:00
parent f51fee66ad
commit fac683684b

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;
}
}