Open
Description
Version: 1.06
Confirmed with Perl 5.16.3 & 5.32.1
This is a test script test.pl:
use HTML::StripScripts::Parser;
my $hss = HTML::StripScripts::Parser->new;
$hss->parse_file(shift);
print $hss->filtered_document;With attached test data, it crashes as below:
$ perl test.pl test-1.html.txt
Complex regular subexpression recursion limit (32766) exceeded at /usr/share/perl5/vendor_perl/HTML/StripScripts.pm line 1602.$ perl test.pl test-2.html.txt
Complex regular subexpression recursion limit (32766) exceeded at /usr/share/perl5/vendor_perl/HTML/StripScripts.pm line 1606.Metadata
Metadata
Assignees
Labels
No labels