Skip to content

Commit 98faaa7

Browse files
author
Mark Allen
committed
Merge pull request #22 from preaction/fix-funcy-head3
fix next head appearing in certain -f lookups
2 parents be2e711 + 1794862 commit 98faaa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Pod/Perldoc.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ sub search_perlfunc {
13561356
last if $found > 1 and $inlist < 2;
13571357
}
13581358
}
1359-
elsif (/^=item/) {
1359+
elsif (/^=item|^=back/) {
13601360
last if $found > 1 and $inlist < 2;
13611361
}
13621362
elsif ($found and /^X<[^>]+>/) {

0 commit comments

Comments
 (0)