Skip to content

Commit fd6c89c

Browse files
committed
allow multiple commands in the =for podview sections
1 parent c02dba7 commit fd6c89c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Prima/Drawable/Pod.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ sub add_formatted
585585
$self-> add($text,pod::STYLE_CODE,0);
586586
$self-> add_new_line;
587587
} elsif ( $format eq 'podview') {
588-
while ( $text =~ m/<\s*([^<>]*)\s*>(.*)/gcs) {
588+
while ( $text =~ m/<\s*([^<>]*)\s*>([^<]*)/gcs) {
589589
my $cmd = $1;
590590
my $rest = $2;
591591
if ( lc($cmd) eq 'cut') {

0 commit comments

Comments
 (0)