This module works well - apart from a few sites. For example:
use HTML::Restrict;
my %rules = (
a => [qw( href title )],
b => [],
caption => [],
center => [],
em => [],
i => [],
#img => [qw( alt border height width src style )],
li => [],
ol => [],
p => [],
span => [],
strong => [],
sub => [],
sup => [],
table => [qw()],
tbody => [],
td => [],
tr => [],
u => [],
ul => [],
title => [],
br => [],
head => [],
div => [],
meta => [qw(name content property)],
html => [qw(lang)],
iframe => [qw(src)]
);
my $hr = HTML::Restrict->new( rules => \%rules, uri_schemes => [ undef, 'http', 'https', 'tel', 'mailto' ] );
print "before...\n";
$page = $hr->process($page);
print "after ..\n";
The text before shows, but the "after" bit doesn't. Any suggestions? Its been working well otherwise :/
Hi,
This module works well - apart from a few sites. For example:
https://ragnitrotta.uk
My code is:
The text before shows, but the "after" bit doesn't. Any suggestions? Its been working well otherwise :/