Allow blockquote
This commit is contained in:
parent
e1e3754e29
commit
926d45001b
|
@ -7,7 +7,7 @@ sub new {
|
||||||
my ($class, %options) = @_;
|
my ($class, %options) = @_;
|
||||||
my $self = HTML::Scrubber->new();
|
my $self = HTML::Scrubber->new();
|
||||||
$self->deny(qw(link));
|
$self->deny(qw(link));
|
||||||
$self->allow(qw(p a em strong b i ul ol li dl dt dd br));
|
$self->allow(qw(p a em strong b i ul ol li dl dt dd br blockquote));
|
||||||
my %rules = (
|
my %rules = (
|
||||||
a => {
|
a => {
|
||||||
href => qr{^https?://}i,
|
href => qr{^https?://}i,
|
||||||
|
|
Loading…
Reference in New Issue