File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -2995,9 +2995,8 @@ C<undef>, it dumps to STDOUT.
29952995=cut
29962996
29972997sub dump_text {
2998- my $self = shift ;
2999- my $fh = shift || \*STDOUT ;
3000- my $absolute = shift ;
2998+ my $self = shift ;
2999+ my $fh = shift || \*STDOUT ;
30013000
30023001 print {$fh } $self -> text, " \n " ;
30033002
@@ -3392,7 +3391,7 @@ sub _extract_images {
33923391 next if $tag_name =~ m { ^/} ;
33933392
33943393 if ( $image_tags {$tag_name } ) {
3395- my $image = $self -> _image_from_token( $token , $parser );
3394+ my $image = $self -> _image_from_token($token );
33963395 push ( @{ $self -> {images } }, $image ) if $image ;
33973396 }
33983397 elsif ( $tag_name eq ' style' ) {
@@ -3416,9 +3415,8 @@ sub _extract_images {
34163415}
34173416
34183417sub _image_from_token {
3419- my $self = shift ;
3420- my $token = shift ;
3421- my $parser = shift ;
3418+ my $self = shift ;
3419+ my $token = shift ;
34223420
34233421 my $tag = $token -> [0];
34243422 my $attrs = $token -> [1];
You can’t perform that action at this time.
0 commit comments