You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my $scrubber = HTML::Scrubber->new( allow => [ qw[ p b i u hr br ] ] );
print $scrubber->scrub('<p><b>bold</b> <em>missing</em></p>');
# output is: <p><b>bold</b> </p>
However, the output still contains the missing text contrary to the comment.
Any modules out there that will remove the tag as well as the content?
The text was updated successfully, but these errors were encountered:
The synopsis has this code:
However, the output still contains the
missing
text contrary to the comment.Any modules out there that will remove the tag as well as the content?
The text was updated successfully, but these errors were encountered: