diff options
Diffstat (limited to 'lib/Pod/Man.pm')
-rw-r--r-- | lib/Pod/Man.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Pod/Man.pm b/lib/Pod/Man.pm index 439b22c35b..b49e184e68 100644 --- a/lib/Pod/Man.pm +++ b/lib/Pod/Man.pm @@ -685,7 +685,7 @@ sub cmd_item { my $index; if (/\w/ && !/^\w[.\)]\s*$/) { $index = $_; - $index =~ s/^\s*[-*+o.]?\s*//; + $index =~ s/^\s*[-*+o.]?(?:\s+|\Z)//; } s/^\*(\s|\Z)/\\\(bu$1/; if ($$self{WEIRDINDENT}) { |