]> wagnertech.de Git - mfinanz.git/blobdiff - SL/HTML/Restrict.pm
kivitendo 3.9.2-0.2
[mfinanz.git] / SL / HTML / Restrict.pm
index ad8ff387b54f3acd085c76dc872772025775bf08..3be417112c375aa7e68001f03643a76e95c347c6 100644 (file)
@@ -7,7 +7,7 @@ use HTML::Restrict ();
 
 sub create {
   my ($class, %params)    = @_;
 
 sub create {
   my ($class, %params)    = @_;
-  $params{allowed_tags} //= { map { ($_ => ['/']) } qw(b strong i em u ul ol li sub sup s strike br p div) };
+  $params{allowed_tags} //= { map { ($_ => ['/']) } qw(b strong i em u ul ol li sub sup s strike br p div table caption thead tbody tr th td) };
 
   return HTML::Restrict->new(rules => $params{allowed_tags});
 }
 
   return HTML::Restrict->new(rules => $params{allowed_tags});
 }