Allow blockquote

This commit is contained in:
Peter J. Holzer 2018-03-29 18:37:22 +02:00
parent e1e3754e29
commit 926d45001b
1 changed files with 1 additions and 1 deletions

View File

@ -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,